Control
Methods of Control objects. Nyx Lua API v1.
Control:get
Section titled Control:getControl:get() -> anyThe control's value.
Control:set
Section titled Control:setControl:set(value: any) -> ()Sets the value (saved with the config).
Control:visible
Section titled Control:visibleControl:visible(visible: boolean) -> ()Shows or hides the row.
Control:tooltip
Section titled Control:tooltipControl:tooltip(text: string) -> ()The circled-i hover text.
Control:on_change
Section titled Control:on_changeControl:on_change(fn: (value: any) -> ()) -> ()Runs when the user changes the value.
Nyx Lua API v1 · release commit-4b659d9c3810 · d0f772c99281