@staski/vue-img-mapper
Version:
Vue Component to highlight interactive zones in images
19 lines (11 loc) • 767 B
Markdown
# Vue Img Mapper extension
This repository is is a small extension to [vue-img-mapper](https://github.com/img-mapper/vue-img-mapper), containing ids in the rendered image areas and a target attribute. The ids are required for the [@staski/panel-map](https://www.npmjs.com/package/@staski/panel-map) component, when setting up popup elements once the document is mounted. The target attribute allows to open a link in a new window or tab if the user clicks on a highlighted area.
## Installation
Package: [@staski/vue-img-mapper](https://www.npmjs.com/package/@staski/vue-img-mapper)
**NPM**
```
npm install @staski/vue-img-mapper
```
## License
Distributed with an MIT License. See LICENSE.txt for more details!
Copyright (c) 2023 staski, 2021 Nisharg Shah