mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
#83 update documentation
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
--- Druid main class. Create instance of this
|
||||
-- to start creating components
|
||||
--- Instance of Druid. Make one instance per gui_script with next code:
|
||||
--
|
||||
-- local druid = require("druid.druid")
|
||||
-- function init(self)
|
||||
-- self.druid = druid.new(self)
|
||||
-- local button = self.druid:new_button(...)
|
||||
-- end
|
||||
--
|
||||
-- Learn Druid instance function here
|
||||
-- @module druid_instance
|
||||
-- @see druid.button
|
||||
-- @see druid.blocker
|
||||
|
Reference in New Issue
Block a user