2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-19 16:59:02 +00:00

Update Vue 2 readme

This commit is contained in:
Vjacheslav Trushkin 2021-12-22 16:44:09 +02:00
parent d498b0e1e9
commit 0d948e159e

View File

@ -196,7 +196,9 @@ Note: in templates you can use "camelCase" properties as "kebab-case". For examp
### Other properties and events
In addition to the properties mentioned above, the icon component accepts any other properties and events. All other properties and events will be passed to generated `SVG` element, so you can do stuff like assigning click event, setting the inline style, add title and so on.
In addition to the properties mentioned above, all other properties will be passed to generated `SVG` element, so you can do stuff like setting the inline style, add title and so on.
Vue 2 component does not pass events to `SVG` element. However, Vue 3 component does.
### Dimensions