Open airstruck opened 8 years ago
group
radio
layout.myGroup.value
layout.myGroup.onPress(...)
Commit e53f470 adds group widgets that receive events from option widgets and have a selected property pointing to the currently selected option widget. Group widgets have the group name as their id attribute.
selected
id
group
attribute only exists forradio
type widgets; support it everywhere (at least menu items and buttons should be toggle-able somehow).layout.myGroup.value
andlayout.myGroup.onPress(...)
will work.