Update docs

This commit is contained in:
Insality
2025-04-19 19:36:07 +03:00
parent 74ddc67469
commit 013d61771f
5 changed files with 88 additions and 33 deletions

View File

@@ -0,0 +1,16 @@
---@class druid.widget.TEMPLATE: druid.widget
local M = {}
function M:init()
self.root = self:get_node("root")
self.button = self.druid:new_button("button", self.on_button, self)
end
function M:on_button()
print("Root node", self.root)
end
return M