A group of radio button for Setting Dialog
RadioGroup(radios: string | string[] = null, selected: number = 0)
Construct an RadioGroup
Parameters | |
radios | Array of radio button label |
selected | Default selected index |
RadioGroup id(id: string)
Set an id to identify a view
Parameters | |
id | id to identify a view |
Return | |
RadioGroup | This RadioGroup instance |
RadioGroup radio(radio: string)
Add a radio button
Parameters | |
radio | The radio label |
Return | |
RadioGroup | This RadioGroup instance |
RadioGroup select(index: number)
Set selected index
Parameters | |
index | 0 based index |
Return | |
RadioGroup | This RadioGroup instance |
RadioGroup dropdown(dropdown: bool)
Show as dropdown
Parameters | |
dropdown | true to show this radiogroup as dropdown |
Return | |
RadioGroup | This RadioGroup instance |
© 2024 - Macrorify by KoK-CODE