Update doc links, update emmylua generator

This commit is contained in:
Insality
2022-03-08 20:21:39 +02:00
parent a846adf97b
commit f801bb6862
27 changed files with 655 additions and 439 deletions

View File

@@ -6,7 +6,7 @@
-- @alias druid.checkbox
--- On change state callback(self, state)
-- @tfield druid_event on_change_state
-- @tfield DruidEvent on_change_state @{DruidEvent}
--- Visual node
-- @tfield node node
@@ -15,7 +15,7 @@
-- @tfield[opt=node] node click_node
--- Button component from click_node
-- @tfield Button button
-- @tfield Button button @{Button}
---
@@ -45,7 +45,7 @@ end
--- Component init function
-- @tparam Checkbox self
-- @tparam Checkbox self @{Checkbox}
-- @tparam node node Gui node
-- @tparam function callback Checkbox callback
-- @tparam[opt=node] node click_node Trigger node, by default equals to node
@@ -68,7 +68,7 @@ end
--- Set checkbox state
-- @tparam Checkbox self
-- @tparam Checkbox self @{Checkbox}
-- @tparam bool state Checkbox state
-- @tparam bool is_silent Don't trigger on_change_state if true
-- @tparam bool is_instant If instant checkbox change
@@ -85,7 +85,7 @@ end
--- Return checkbox state
-- @tparam Checkbox self
-- @tparam Checkbox self @{Checkbox}
-- @treturn bool Checkbox state
function Checkbox.get_state(self)
return self.state