| useSeconds | ใช้กำหนดค่า หรือคืนค่า ว่าเวลาของ animation เป็นหน่วย seconds ใช่หรือไม่ ( default = true ) |
|---|
property:useSeconds
return type:void, boolean
content:ใช้กำหนดค่า หรือคืนค่า ว่าเวลาของ animation เป็นหน่วย seconds ใช่หรือไม่ ( default = true )
example:var attributes = { width: { to: 0 } }; var anim = new YAHOO.util.Anim ( "bamboo", attributes ); if ( ! anim.useSeconds ) { anim.useSeconds = true; }