group([component])
Class: RadioButtonMenuItem.
Description:
Adds this RadioButtonMenuItem to the group of another RadioButtonMenuItem while abandoning current group, or removes it from its current group and creates its own when you pass null.
- Call without parameters to get an Array of all components in its group.
- Pass another RadioButtonMenuItem to join its group.
- Pass
nullto leave the current group (if any) and create its own group.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
RadioButtonMenuItem | null |
A RadioButtonMenuItem to join, or |
Returns:
This RadioButtonMenuItem, for chaining when called with parameter, otherwise an Array of all RadioButtonMenuItem components in its group.
Type: RadioButtonMenuItem | Array.<RadioButtonMenuItem>
