I've been experimenting with the new button widget. Man, what a sweet widget. If you haven't tried it, you're going to love it. Question: Should button be re-entrant. Step 1: $ "#fooAnchor" .button { label : "foo" } // makes a button that says "foo" Step 2: $ "#fooAnchor" .button { label : "bar" } // button still says "foo" !? My expectation: We should be able to use the .button interface to modify a pre-button'd button. What do you think? Open a ticket? **--** Steve --
Oh, I get it now! This works on pre-initialized button widgets, as expected. $ "#fooAnchor" .button "option", "label", "bar" ; So does this: $ "#fooAnchor" .button "option", {label : "Awesome!", icons : {primary:"ui-icon-unlocked"}} ; Cool! **--** Steve
Leave a comment on Steven Black's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic