mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Add class component and druid_instance
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
local const = require("druid.const")
|
||||
local component = require("druid.system.component")
|
||||
|
||||
local M = component.new("back_handler", { const.ON_INPUT })
|
||||
local M = component.create("back_handler", { const.ON_INPUT })
|
||||
|
||||
|
||||
--- Component init function
|
||||
|
Reference in New Issue
Block a user