Update docs, annotations and style for checkbox

This commit is contained in:
Insality
2022-02-12 17:17:36 +02:00
parent 4e0fd264b1
commit 3b329f9c25
38 changed files with 67 additions and 48 deletions

View File

@@ -304,7 +304,8 @@ function druid__checkbox_group.init(self, nodes, callback, click_nodes) end
--- Set checkbox group state
---@param self druid.checkbox_group
---@param indexes bool[] Array of checkbox state
function druid__checkbox_group.set_state(self, indexes) end
---@param is_instant boolean If instant state change
function druid__checkbox_group.set_state(self, indexes, is_instant) end
---@class druid.data_list : druid.base_component
@@ -687,7 +688,8 @@ function druid__radio_group.init(self, nodes, callback, click_nodes) end
--- Set radio group state
---@param self druid.radio_group
---@param index number Index in radio group
function druid__radio_group.set_state(self, index) end
---@param is_instant boolean If is instant state change
function druid__radio_group.set_state(self, index, is_instant) end
---@class druid.scroll : druid.base_component