mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Add component instance with general methods. New component constructor
This commit is contained in:
@@ -3,12 +3,9 @@
|
||||
|
||||
local const = require("druid.const")
|
||||
local helper = require("druid.helper")
|
||||
local component = require("druid.system.component")
|
||||
|
||||
|
||||
local M = {}
|
||||
M.interest = {
|
||||
const.ON_SWIPE
|
||||
}
|
||||
local M = component.new("blocker", { const.ON_SWIPE })
|
||||
|
||||
|
||||
function M.init(self, node)
|
||||
|
Reference in New Issue
Block a user