Skip to content

v3.4.0

Compare
Choose a tag to compare
@jinwoo-kim-nhn jinwoo-kim-nhn released this 11 Jan 03:30
· 206 commits to master since this release

Added

  • Added declaration file(./index.d.ts) for Typescript support.
  • Added Localization feature includeUi.locale
var locale_ru_RU = { // override default English locale to your custom
    'Crop': 'Обзрезать', // as result default English inscription will be translated into Russian
    'Delete-all': 'Удалить всё'
    // etc...
};
// Image editor
var instance = new ImageEditor(document.querySelector('#tui-image-editor'), {
     includeUI: {
         ...
         locale: locale_ru_RU, // key-value object with localization
         ...
     },
     ...
});