| getDefaultUnit() | ใช้คืนค่า ค่าข้อมูลเริ่มต้น ของ attribute ที่กำหนด |
|---|
method:getDefaultUnit ( attribute );
return type:number array
content:ใช้คืนค่า ค่าข้อมูลเริ่มต้น ของ attribute ที่กำหนด
example:var attributes = { width: { to: 0 } }; var anim = new YAHOO.util.Anim ( "bamboo", attributes ); var width = anim.getDefaultUnit ( "width" );