tui-image-editor-build-umd

3.5.3 • Public • Published

This package is a self contained build for tui image editor (https://github.com/nhn/tui.image-editor)

Just add minified css and script sources to the page and go (see example in dist/example).

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="./image-editor.bundle.min.css">
    <script src="./image-editor.bundle.min.js"></script>
</head>
<body>
    <div id="img-editor"></div>
    <script>
        var imageEditor = new tui.ImageEditor('#img-editor', {
             includeUI: {
                 loadImage: {
                     path: 'osx.jpg',
                     name: 'SampleImage'
                 },
                 initMenu: 'filter',
                 menuBarPosition: 'bottom'
             },
             cssMaxWidth: 700,
             cssMaxHeight: 500
         });

         window.onresize = function() {
            imageEditor.ui.resizeEditor();
         }
        
    </script>
</body>
</html>

/tui-image-editor-build-umd/

    Package Sidebar

    Install

    npm i tui-image-editor-build-umd

    Weekly Downloads

    0

    Version

    3.5.3

    License

    none

    Unpacked Size

    1.35 MB

    Total Files

    17

    Last publish

    Collaborators

    • iwnow