SpliButton组件依赖于Menu(菜单)组件和 LinkButton(按钮)组件
加载方式
Class加载
rush:xhtml;">
剪切
复制
粘贴
全选
Js调用加载
编辑
Box" style="width:150px;">
剪切
复制
粘贴
删除
全选
属性列表
其他属性,参考依赖组件 LinkButton
rush:js;">
//返回属性对象
console.log($('#edit').splitbutton('options'));
//禁用菜单按钮
$('#edit').splitbutton('disable');
//启用菜单按钮
$('#edit').splitbutton('enable');
//销毁菜单按钮
$('#edit').splitbutton('destroy');
//扩展自$.fn.linkbutton.defaults。使用$.fn.splitbutton.defaults 重写默认值对象。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程之家。
原文地址:https://www.jb51.cc/jquery/43419.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。