| beforeMenumaxheightChange() | เป็นการกำหนดให้ function ทำงาน เมื่อ ก่อนที่จะเปลี่ยนแปลง คุณสมบัติ menumaxheight ของ button |
|---|
method:beforeMenumaxheightChange ( event )
return type:void
content:เป็นการกำหนดให้ function ทำงาน เมื่อ ก่อนที่จะเปลี่ยนแปลง คุณสมบัติ menumaxheight ของ button
example:var attributes = { label: "One" }; var checkbox_button = new YAHOO.widget.Button ( "checkbutton", attributes ); checkbox_button.beforeMenumaxheightChange.subscribe ( function ( event ) { alert ( "before menumaxheight change" ); } );