Gathering detailed insights and metrics for @ibls4/vue-image-editor
Gathering detailed insights and metrics for @ibls4/vue-image-editor
Gathering detailed insights and metrics for @ibls4/vue-image-editor
Gathering detailed insights and metrics for @ibls4/vue-image-editor
🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
npm install @ibls4/vue-image-editor
Typescript
Module System
Node Version
NPM Version
JavaScript (90.1%)
Stylus (4.44%)
HTML (3.38%)
TypeScript (0.97%)
CSS (0.79%)
Vue (0.33%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
7,370 Stars
659 Commits
1,341 Forks
103 Watchers
37 Branches
34 Contributors
Updated on Jul 16, 2025
Latest Version
0.0.6
Package Id
@ibls4/vue-image-editor@0.0.6
Unpacked Size
47.75 kB
Size
16.27 kB
File Count
6
NPM Version
8.19.3
Node Version
16.19.1
Published on
Aug 29, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This is a Vue component wrapping TOAST UI Image Editor.
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.
1const options = { 2 usageStatistics: false, 3}; 4 5const imageEditor = new tui.ImageEditor('#image-editor', options);
Or, include tui-code-snippet
(v1.4.0 or later) and then immediately write the options as follows:
1tui.usageStatistics = false;
1$ npm install --save @ibls4/vue-image-editor
If you install other packages, you may lose dependency on fabric. You need to reinstall the fabric.
1$ npm install --no-save --no-optional fabric@~4.2.0
Using module
1// es modules 2import { ImageEditor } from '@ibls4/vue-image-editor'; 3 4// commonjs require 5const { ImageEditor } = require('@ibls4/vue-image-editor');
Using only Vue wrapper component (Single File Component)
If you only need vue wrapper component, you can use @ibls4/vue-image-editor/src/ImageEditor.vue
like this:
1import ImageEditor from '@ibls4/vue-image-editor/src/ImageEditor.vue';
First insert <TuiImageEditor>
in the template or html. includeUi
and options
props are required.
1<TuiImageEditor :include-ui="useDefaultUI" :options="options"></TuiImageEditor>
Load ImageEditor component and then add it to the components
in your component or Vue instance.
1import 'tui-color-picker/dist/tui-color-picker.css'; 2import '@ibls4/image-editor/dist/image-editor.css'; 3import { ImageEditor as TuiImageEditor } from '@ibls4/vue-image-editor'; 4 5export default { 6 components: { 7 TuiImageEditor, 8 }, 9 data() { 10 return { 11 useDefaultUI: true, 12 options: { 13 // for component's "options" prop 14 cssMaxWidth: 700, 15 cssMaxHeight: 500, 16 }, 17 }; 18 }, 19};
You can use includeUi
and options
props. Example of each prop is in the Getting Started.
includeUi
Type | Required | Default |
---|---|---|
Boolean | X | true |
This prop can contain the includeUI
prop in the option. You can see the default UI.
options
Type | Required | Default |
---|---|---|
Object | X | { cssMaxWidth: 700, cssMaxHeight: 500 } |
You can configure your image editor using options
prop. For more information which properties can be set in options
, see options of tui.image-editor.
1<TuiImageEditor ... @addText="onAddText" @objectMoved="onObjectMoved"></TuiImageEditor>
1export default { 2 methods: { 3 onAddText(pos) {}, 4 onObjectMoved(props) {}, 5 }, 6};
For more information such as the parameters of each event, see event of tui.image-editor.
For use method, first you need to assign ref
attribute of element like this:
1<TuiImageEditor ref="tuiImageEditor" :options="options"></TuiImageEditor>
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.
1this.$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.
1const drawingMode = this.$refs.tuiImageEditor.invoke('getDrawingMode'); 2 3this.$refs.tuiImageEditor.invoke('loadImageFromURL', './sampleImage.png', 'My sample image'); 4 5this.$refs.tuiImageEditor.invoke('startDrawingMode', 'FREE_DRAWING', { 6 width: 10, 7 color: 'rgba(255, 0, 0, 0.5)', 8});
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 8/25 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
97 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More