Socket
Socket
Sign inDemoInstall

tui-image-editor-build-umd

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tui-image-editor-build-umd

This is standalone build (with all dependency include) for https://github.com/nhn/tui.image-editor


Version published
Maintainers
1
Created

Readme

Source

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>


Keywords

FAQs

Last updated on 03 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc