jQuery 标签 jquery.bs_label

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-03 11:12:11

软件介绍

已作http://www.oschina.net/p/jQuery-eventModuleCraft的一个模块

jquery.bs_label 调用即可自动生成标签,点标签调用回调,简单的生成一组标签使用。

使用方法

初始化:
$("#dome").bs_label({
    //label数据
    "data": [
        {"val": "a", "name": "a", "type": "default"},
        {"val": "b", "name": "b", "type": "primary"},
        {"val": "c", "name": "c", "type": "success"},
        {"val": "d", "name": "d ", "type": "info"},
        {"val": "e", "name": "e", "type": "warning"},
        {"val": "f", "name": "f", "type": "danger"}
    ],
    //加载后自动点击的label的val
    "clickVal": "a",
    //点击后的回调
    "callBack": function (e, dName, dVal) {
        console.log(arguments);
    }
});
选择一个标签
$("#dome").bs_label("checked","f")
切换禁用
$("#dome").bs_label("disable"[,true/false])

本文地址:https://www.codercto.com/soft/d/22561.html

Algorithms for Image Processing and Computer Vision

Algorithms for Image Processing and Computer Vision

Parker, J. R. / 2010-12 / 687.00元

A cookbook of algorithms for common image processing applications Thanks to advances in computer hardware and software, algorithms have been developed that support sophisticated image processing with......一起来看看 《Algorithms for Image Processing and Computer Vision》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

随机密码生成器
随机密码生成器

多种字符组合密码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具