Socket
Socket
Sign inDemoInstall

vue-annotator

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-annotator - npm Package Compare versions

Comparing version 0.11.4 to 0.11.5

style.css

7

package.json
{
"name": "vue-annotator",
"version": "0.11.4",
"version": "0.11.5",
"description": "Vue Component for drawing annotation (box, etc)",

@@ -15,3 +15,3 @@ "homepage": "http://vue-annotator.surge.sh",

"module": "dist/index.js",
"style": "dist/index.css",
"style": "style.css",
"unpkg": "umd/index.js",

@@ -23,3 +23,4 @@ "jsdelivr": "umd/index.js",

"umd/",
"index.d.ts"
"index.d.ts",
"style.css"
],

@@ -26,0 +27,0 @@ "author": "Fahmi Akbar Wildana",

@@ -8,4 +8,5 @@ # vue-annotator

## Usage
```html
<annotator inertia
<v-annotator inertia
:drawing="enableDrawingMode"

@@ -25,5 +26,41 @@ @select="openDialog"

</annotator>
</v-annotator>
```
```css
<style scoped>
@import '~vue-annotator/style.css';
/* Your beloved style */
</style>
```
<details>
<summary>Enable <code>--skipLibCheck</code> if using typescript</summary>
In *tsconfig.json*
```js
{
compilerOptions: {
skipLibCheck: true
}
}
```
Now it should work fine
```ts
import { Vue, Component } from 'vue-property-decorator'
import VAnnotator from 'vue-annotator'
@Component({ components: { VAnnotator } })
export class MyCanvas extends Vue {
/** Your beloved logic */
}
```
</details>
### Props

@@ -30,0 +67,0 @@ > \* : must be set if no background

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc