3.0.0 - Supports NPM installation
New
- Supports installation from NPM. Click here
npm install tui-image-editor --save
- Supports module usage.
var ImageEditor = require('tui-image-editor');
var instance = new ImageEditor('.tui-image-editor', {
cssMaxWidth: 700,
cssMaxHeight: 500,
selectionStyle: {
cornerSize: 20,
rotatingPointOffset: 70
}
});
Breaking Changes
- Changes global namespace
tui.component.ImageEditor
==>tui.ImageEditor