Comments (2)
@dokechin - this does not appear to be an issue with ImageMap but rather an issue in implementation. I am not a Vue user personally, but I did observe, after looking at the Vue lifecycle diagram, that if you replace mounted
with created
in index.vue then it works as expected.
updated
works equally as well, albeit which lifecycle hook you use should be based off your specific needs. I would expect that you want to re-initialize ImageMap on DOM updates.
e.g.
- mounted() {
+ created() {
$('img[usemap]').imageMap()
}
from image-map.
Very very thanks you, I can do!!
from image-map.
Related Issues (20)
- Unable to get property fn in Ionic
- A little help on debugging (if possible) HOT 5
- Responsive and Mapping HOT 1
- Is there a React Native implementation as well ? HOT 2
- Performance with lots of areas HOT 7
- Coords "0,0" on page load. HOT 6
- Highlight region on hover HOT 4
- Generating image maps
- Map does not resize properly on IE11 HOT 2
- Map does not resize on Safari HOT 1
- jQuery not listed as dependecy HOT 3
- SSL Certificate Expired In Demo HOT 1
- How can I use this in React JS? HOT 11
- responsive not right.
- Import HOT 1
- Demo link in the docs is not working HOT 1
- Not working on google chrome
- import ImageMap from "image-map" not working
- your library is working fine on local, it's responsive, but not on production
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-map.