JSFiddle - React, Tailwind, and code Playground
by kentaromiura
JavaScript
Element.Properties.store = {
set : function(store){
var self = this;
Object.each(store, function(value, key){
self.store(key, value);
});
}
};
var pippo = new Element('div', {
store: {
me:'chiel sux0rs'
}
});
alert(pippo.retrieve('me'));