Skip to main content

Radio Button

Overview​

A visible component to use radio buttons

Component Properties​

PropertyDescription
textThe text that is displayed next to radio button.
checkedIt is used to pre-select a radio button by default.

Blocks​

Events​

On state changed​

Triggers on radio button state changed

loading block...

variabletypedescription
stateBooleanThe current state of radio button. True for checked, false for not checked

Properties​

text​

Accepts: String

sets radio button text

loading block...

text​

Returns: String

gets radio button text

loading block...

checked​

Accepts: Boolean

sets radio button checked state

loading block...

checked​

Returns: Boolean

gets radio button checked state

loading block...

hide​

Accepts: Boolean

Hides the component if the input is true and shows it if the input is false

loading block...

hidden​

Returns: Boolean

Returns true if the component is hidden and false if it is not

loading block...