Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kit.toggle使用方法 #6

Open
Kelichao opened this issue Feb 6, 2017 · 0 comments
Open

kit.toggle使用方法 #6

Kelichao opened this issue Feb 6, 2017 · 0 comments

Comments

@Kelichao
Copy link
Owner

Kelichao commented Feb 6, 2017

kit.toggle使用方法

var object = {
    // 数据源
    items: {
        a: 111,
        b: 222,
        c: 333
    },
    el: "button",// 触发对象
    isOwnProperty: false,// 是否计算原型链上的属性数量
    type: "click",// 触发方式default:click
    // 回调函数
    fn: function(key, value) {

    }
};

kit.toggle(object);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant