Topic: Is there a OnScroll function for vectormap?
Ominous Vibes priority asked 2 years ago
Is there an onScroll function to which I can bind a function? I need to hide a few elements when the vector map is focused, is that possible?
Thanks
Krzysztof Wilk staff answered 2 years ago
Hi!
I think this is achievable by using a mutation observer to check changes in the root div element of the vector map. I'm afraid there are no built-in events in Vector Maps but we'll add them as soon as possible :)
Keep coding!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 4.0.0
- Device: pc
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No