Releases: Katochimoto/xblocks-core
Releases · Katochimoto/xblocks-core
3.0.0
- Changes in the Declaration of the component:
- subscribers to the event are invoked in Declaration order
- of the subscribers are not overridden
- the ability to specify subscribers on lifecycle events
- Changes in the Declaration of the view:
- subscribers to the event are invoked in Declaration order
- of the subscribers are not overridden
- Updating the view after changes to the underlying nodes
- Methods for obtaining templates and content transferred in the context of the React component
- Experimental support for Shadow DOM
2.0.7
- Update documentation
- Adding tests
- Small fixes
2.0.6
- npmignore fix
2.0.5
- support decorators
var xcore = require('xblocks-core');
@xcore.element('x-element', {
events: {
'xb-created': function() {}
}
})
class XElement extends React.Component {
render() {
return (
<div data-xb-content={this.props._uid}
title={this.props.test1}>{this.props.children}</div>
);
}
}
XElement.propTypes = {
test1: React.PropTypes.string
};
2.0.4
rebuild
2.0.3
- up bower
2.0.2
- update dependencies
2.0.1
- up readme
- fix jsdoc
2.0.0
up version
1.0.1
es6