| name | ใช้กำหนด name ของ buttongroup |
|---|
config:name
value:string
content:เป็น configuration attribute ของ buttongroup โดยจะใช้กำหนด name ของ buttongroup ( default value คือ null )
example:var button_1 = { label: "Radio 1", value: "1" }; var button_2 = { label: "Radio 2", value: "2" }; var button_3 = { label: "Radio 3", value: "3" }; var attributes = { container: "bgroup", name: "button-group" }; var group_button = new YAHOO.widget.ButtonGroup ( "bgroup", attributes ); group_button.addButtons ( [ button_1, button_2, button_3 ] );