5👍
You can call the methods of the referenced map using this.$refs.map.map.<method>
.
(this
cannot be accessed inside the composition api!! Use it in e. g. mounted()
).
For example you can get the size of the map:
this.$refs.map.map.getSize()
- [Vuejs]-How can I use the src imports in Vue3?
- [Vuejs]-Can you dynamically define properties in a template string in Vuejs?
Source:stackexchange.com