Enyo: Programmatically toggle a button

edited February 2012 in Enyo 1.0
Hi. I have the following code:

{kind: "ToolButtonGroup", name: "pageTools", components: [
	{icon: "images/menu-icon-back.png", onclick: "actionBrowseBack", className: "enyo-radiobutton-dark enyo-grouped-toolbutton-dark"},
	{icon: "images/icn-edit.png", name: "noteButton", onclick: "actionNoteToggle", toggling: "true", className: "enyo-radiobutton-dark enyo-grouped-toolbutton-dark"},
	{icon: "images/menu-icon-forward.png", onclick: "actionBrowseForward", className: "enyo-radiobutton-dark enyo-grouped-toolbutton-dark"}
]},
How can I programmatically toggle the "noteButton" button?

Comments

Sign In or Register to comment.