[Vuejs]-How to prevent default title setting on Vue Component?

0đź‘Ť

From the link you’ve provided, that icon component provides a prop where you can set the title to whatever you wish if you don’t want to use the default.

Props

title - This changes the hover tooltip as well as the title shown to screen readers. By default, those values are a "human readable"

conversion of the icon names; for example chevron-down-icon becomes
“Chevron down icon”.

Example:

<android-icon title="this is an icon!" />

Leave a comment