当前位置:嗨网首页>书籍在线阅读

07-在选区中使用bind ()管理事件

  
选择背景色: 黄橙 洋红 淡粉 水蓝 草绿 白色 选择字体: 宋体 黑体 微软雅黑 楷体 选择字体大小: 恢复默认

11.4 在选区中使用 bind () 管理事件

除了 selectable (options) 中的 options 参数提供的事件方法外,jQuery UI还允许使用 bind() 方法来管理这些事件。表11-4中列出了这些事件。

表11-4 jQuery UI创建的事件

| 事件 | 功能 | | :----- | :----- | :----- | :----- | | selectablestart | 等同于 options.start | | Selectablestop | 等同于 options.stop | | selectbaleselecting | 等同于 options.selecting | | selectableunselecting | 等同于 options.unselecting | | selectableselected | 等同于 options.selected | | selectableunselected | 等同于 options.unselected |