adds a new radio button, sibling/child mode
mode | string | sibling/child |
nextToId | string|number | the item after which the radio button will be added in the "sibling" mode or parent item's id in the "child" mode |
pos | number | the item's position in the child mode (null for the sibling one) |
itemId | string|number | id of a new radio button |
text | string | text of a new radio button |
group | string|number | radiogroup's id |
state | boolean | checked/unchecked |
dis | boolean | enabled/disabled |
myMenu.addRadioButton(mode, nextToId, pos, itemId, text, group, state, dis);
Back to top