zoukankan      html  css  js  c++  java
  • jQuery EasyUI API 中文文档 链接按钮(LinkButton)

    LinkButton 链接按钮

    $.fn.linkbutton.defaults 重写了 defaults

    用法示例

    1. <a href="#" id="btn" iconCls="icon-search">easyui</a>

    1. $('#btn').linkbutton({  

    2.     plain:true

    3. });  

    4. $('#btn').linkbutton('disable');    // 禁用此 button

    5. $('#btn').linkbutton('enable');     // 启用此 button

    特性

    名称

    类型

    说明

    默认值

    id

    string

    组件的 id 属性。

    null

    disabled

    boolean

    True 就禁用按钮。

    false

    plain

    boolean

    True 就显示一个简单的效果。

    false

    text

    string

    按钮的文字。

    ''

    iconCls

    string

    在左边显示一个16x16 图标的CSS 类。

    null

    方法

    名称

    参数

    说明

    options

    none

    返回选项(options)特性。

    disable

    none

    禁用按钮。

    enable

    none

    启用按钮。

  • 相关阅读:
    对bootstrap不同版本的总结
    对于前后端分离的理解
    css3笔记
    Dom
    js菜单
    css兼容问题 ie6,7
    html知识
    前端基础知识
    前端要注意的代码规范
    bootstrap常见类的总结
  • 原文地址:https://www.cnblogs.com/hantianwei/p/2407064.html
Copyright © 2011-2022 走看看