Là một dự án frontend, nhn/toast-ui.vue-image-editor đã đạt 185 sao trên GitHub, ngôn ngữ Vue. Toast UI Image Editor for Vue
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
TOAST UI ImageEditor Vue Wrapper has been managed separately from the TOAST UI ImageEditor repository. As a result of the distribution of these issues, we decided to deprecate each wrapper repository and manage repository as a mono-repo from the TOAST UI ImageEditor repository.
From now on, please submit issues or contributing related to TOAST UI Vue Wrapper to TOAST UI ImageEditor repository. Thank you🙂.
Vue wrapper for TOAST UI Image Editor
This is Vue component wrapping TOAST UI Image Editor.
🚩 Table of Contents
Collect statistics on the use of open source
Install
Using npm
Usage
Load
Implement
Props
Event
Method
Pull Request Steps
Setup
Develop
Pull Request Steps
Documents
Contributing
License
Collect statistics on the use of open source
TOAST UI ImageEditor applies Google Analytics (GA) to collect statistics on the use of open source, in order to identify how widely TOAST UI ImageEditor is used throughout the world. It also serves as important index to determine the future course of projects. location.hostname (e.g. > “ui.toast.com") is to be collected and the sole purpose is nothing but to measure statistics on the usage. To disable GA, use the following usageStatistics option when creating the instance.
Or, include tui-code-snippet(v1.4.0 or later) and then immediately write the options as follows:
tui.usageStatistics = false;
💾 Install
Using npm
npm install --save @toast-ui/vue-image-editor
If you install other packages, you may lose dependency on fabric. You need to reinstall the fabric. npm install --no-save --no-optional fabric@~1.6.7
🔡 Usage
Load
Using namespace
const ImageEditor = toastui.ImageEditor;
Using module
// es modules
import {ImageEditor} from '@toast-ui/vue-image-editor';
// commonjs require
const {ImageEditor} = require('@toast-ui/vue-image-editor');
Using <script>
If you just add javascript file to your html, you use toastui-vue-image-editor.js downloaded. Insert toastui-vue-image-editor.js with vue in your html like this:
Using only Vue wrapper component (Single File Component)
toastui-vue-image-editor.js has all of the tui.ImageEditor. If you only need vue wrapper component, you can use @toast-ui/vue-image-editor/src/ImageEditor.vue like this:
import ImageEditor from '@toast-ui/vue-image-editor/src/ImageEditor.vue'
Implement
First insert <tui-image-editor> in the template or html. includeUi and options props are required.
You can use includeUi and options props. Example of each props is in the Getting Started.
includeUi
Type
Required
Default
Boolean
X
true
This prop can contained the includeUI prop in the option. You can see the default UI.
options
Type
Required
Default
Object
X
{ cssMaxWidth: 700, cssMaxHeight: 500 }
You can configurate your image editor using options prop. For more information which properties can be set in options, see options of tui.image-editor.
Event
addText: The event when 'TEXT' drawing mode is enabled and click non-object area.
mousedown: The mouse down event with position x, y on canvas
objectActivated: The event when object is selected(aka activated).
objectMoved: The event when object is moved.
objectScaled: The event when scale factor is changed.
redoStackChanged: Redo stack changed event
textEditing: The event which starts to edit text object.
After then you can use methods through this.$refs. We provide getRootElement and invoke methods.
getRootElement
You can get root element of image editor using this method.
this.$refs.tuiImageEditor.getRootElement();
invoke
If you want to more manipulate the ImageEditor, you can use invoke method to call the method of tui.ImageEditor. First argument of invoke is name of the method and second argument is parameters of the method. To find out what kind of methods are available, see method of tui.ImageEditor.
TOAST UI products are open source, so you can create a pull request(PR) after you fix issues.
Run npm scripts and develop yourself with the following process.
Setup
Fork develop branch into your personal repository.
Clone it to local computer. Install node modules.
Before starting development, you should check to haveany errors.
nhn/toast-ui.vue-image-editor thuộc nhóm Frontend trên TopGit, cùng 2 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về nhn/toast-ui.vue-image-editor ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/nhn/toast-ui.vue-image-editor là nguồn chính thức.
nhn/toast-ui.vue-image-editor có bao nhiêu sao?
nhn/toast-ui.vue-image-editor có 185 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/nhn/toast-ui.vue-image-editor. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
nhn/toast-ui.vue-image-editor có phải mã nguồn mở không?
Có — nhn/toast-ui.vue-image-editor phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/nhn/toast-ui.vue-image-editor.
nhn/toast-ui.vue-image-editor còn đang phát triển không?
Commit gần nhất trên nhn/toast-ui.vue-image-editor là 5.3 năm trước (theo timestamp GitHub). Repo có 41 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
nhn/toast-ui.vue-image-editor dùng license gì?
nhn/toast-ui.vue-image-editor phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
nhn/toast-ui.vue-image-editor là gì?
nhn/toast-ui.vue-image-editor (nhn/toast-ui.vue-image-editor) là dự án Vue trên GitHub. Theo mô tả gốc: Toast UI Image Editor for Vue
nhn/toast-ui.vue-image-editor viết bằng ngôn ngữ gì?
nhn/toast-ui.vue-image-editor chủ yếu viết bằng Vue. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc toast-ui.vue-image-editor có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về toast-ui.vue-image-editor.