Newer Version Available
ui:radioMenuItem
A menu item with a radio button that indicates a mutually exclusive selection and can be used to invoke an action. This component is nested in a ui:menu component.
Attributes
| Attribute Name | Attribute Type | Description | Required? |
|---|---|---|---|
| body | Component[] | The body of the component. In markup, this is everything in the body of the tag. | |
| class | String | A CSS style to be attached to the component. This style is added in addition to base styles output by the component. | |
| disabled | Boolean | Specifies whether the component should be displayed in a disabled state. Default value is "false". | |
| hideMenuAfterSelected | Boolean | Set to true to hide menu after the menu item is selected. | |
| label | String | The text displayed on the component. | |
| selected | Boolean | The status of the menu item. True means this menu item is selected; False is not selected. | |
| type | String | The concrete type of the menu item. Accepted values are 'action', 'checkbox', 'radio', 'separator' or any namespaced component descriptor, e.g. ns:xxxxmenuItem. |
Events
| Event Name | Event Type | Description |
|---|---|---|
| mouseup | COMPONENT | Indicates that the user has released the mouse button. |
| mousedown | COMPONENT | Indicates that the user has pressed a mouse key. |
| mousemove | COMPONENT | Indicates that the user has moved the mouse pointer. |
| dblclick | COMPONENT | Indicates that a component has been double-clicked. |
| mouseout | COMPONENT | Indicates that the user has moved the mouse pointer away from the component. |
| click | COMPONENT | Indicates that a component has been clicked. |
| mouseover | COMPONENT | Indicates that the user has moved the mouse pointer over the component. |
| keyup | COMPONENT | Indicates that the user has released a keyboard key. |
| keypress | COMPONENT | Indicates that the user has pressed and held down a keyboard key. |
| select | COMPONENT | Indicates that the user has made a selection. |
| keydown | COMPONENT | Indicates that the user has pressed and released a keyboard key. |
| focus | COMPONENT | Indicates that a component has been put on focus. |
| blur | COMPONENT | Indicates that a component has been put out of focus. |