1.0.0 • Published 3 years ago

imageeditorluat1 v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Wath is this?

Get perfect shadow every time for the non-designer.

Installation

npm i imageEditor --save

Then...

var imageEditor = require('imageEditor')

------
step1: ***** load library javascript **** 
            imageEditor.createEditor({load: true})
-----

-----
step2: create editor image

    npmimageEditor.createEditor({
        id: "tui-image-editor-container",
        srcImage: srcImage, 
        locale_Ja: locale_Ja,
        initMenu: initMenu, 
        menuBarPosition: menuBarPosition, 
        menu: menu, 
        width: width, 
        height: height
    })

Options

borderNPM supports 9 options, both of which are optional:

  • load -_boolean
  • id -string (id of div)
  • srcImage -string (url of image)
  • locale_Ja array (language of taskbar , Defaults to english)
  • srcImage -string (url of image)
  • initMenu -string (Defaults to filter)
  • menuBarPosition -tring (Defaults to bottom)
  • width -integer (width of image, default 700px)
  • height -integer (height of image, default 500px)