| attributes | ใช้กำหนดค่า หรือคืนค่า attributes ของ object anim |
|---|
property:attributes
return type:void, object
content:ใช้กำหนดค่า หรือคืนค่า attributes ของ object anim
example:var attributes = { width: { to: 0 } }; var anim = new YAHOO.util.Anim ( "bamboo", attributes ); anim.attributes = { width: { from: 0, to: 300 }, height: { from: 0, to: 300 } };