1.0.2 • Published 1 year ago

imageeditorcreate v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Wath is this?

Get perfect shadow every time for the non-designer.

Installation

npm i imageeditorcreate --save

Then...

var imageEditorCreate = require('imageeditorcreate')

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

-----
step2: create editor image

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

Options

imageEditorCreate 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)