| type | ใช้กำหนด type ให้กับ button |
|---|
config:type
value:string
content:เป็น configuration attribute ของ button โดยจะใช้กำหนด type ให้กับ button ( default value คือ push ) ( ค่าที่เป็นไปได้ ได้แก่ push, link, submit, reset, checkbox, radio, menu, split )
example:var attributes = { type: "link", href: "http://www.bamboolabcode.com" }; var link_button = new YAHOO.widget.Button ( "button", attributes );