mirror of
https://github.com/Insality/druid.git
synced 2025-09-29 11:02:18 +02:00
Start update examples to move control things to example itself
This commit is contained in:
@@ -12,4 +12,16 @@ function M:init()
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
---@param output_log output_list
|
||||
function M:on_example_created(output_log)
|
||||
self.button.on_click:subscribe(function()
|
||||
output_log:add_log_text("Clicked")
|
||||
end)
|
||||
self.button.on_double_click:subscribe(function()
|
||||
output_log:add_log_text("Double Clicked")
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
|
Reference in New Issue
Block a user