Skip to content

kissyteam/attribute

Repository files navigation

attribute

attribute management

attribute NPM downloads Build Status Coverage Status Dependency Status Bower version node version

browser support

example

var Attribute = require('modulex-attribute');
var X = Attribute.extend({
},{
    ATTRS:{
        x: {
            getter:function(){
                return 1;
            }
        }
    }
});
var y = new X();
y.get('x') // => 1