项目作者: canvojs

项目描述 :
An easy to implement, well-featured image editor that uses HTML5 Canvas.
高级语言: TypeScript
项目地址: git://github.com/canvojs/Canvo.git
创建时间: 2019-01-18T18:33:15Z
项目社区:https://github.com/canvojs/Canvo

开源协议:MIT License

下载


Canvo

An easy to implement, well-featured image editor that uses HTML5 Canvas.

Installation

Browser

Just download canvo.browser.js from the dist/ directory in this repo and include the following in the bottom of your <body> before any other scripts:

  1. <script type='text/javscript' src='/path/to/canvo.browser.js'></script>

Bower

Run this in your projects main directory:

  1. bower install canvo

Then include it like this:

  1. <script type='text/javascript' src='/path/to/bower_components/canvo/dist/canvo.browser.js'></script>

Node

Use your choice of package manager to install canvo, and import it using one of these two methods:

CommonJS (e.g. require()):

  1. const Editor = require('canvo');
  2. // Use it below (you should know this)...

ESModules (e.g. Webpack or Rollup):

  1. import Editor from 'canvo';
  2. // Use it below (you should know this)...

You should know this stuff anyway, I just try to make my READMEs idiot-proof.