mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 02:22:18 +02:00
Add class component and druid_instance
This commit is contained in:
@@ -5,7 +5,7 @@ local helper = require("druid.helper")
|
||||
local const = require("druid.const")
|
||||
local component = require("druid.system.component")
|
||||
|
||||
local M = component.new("scroll", { const.ON_UPDATE, const.ON_SWIPE })
|
||||
local M = component.create("scroll", { const.ON_UPDATE, const.ON_SWIPE })
|
||||
|
||||
|
||||
-- Global on all scrolls
|
||||
|
Reference in New Issue
Block a user