You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`ariaHidden`|`aria-hidden`| Set the icon to hidden, respectively `true`, to remove it from the accessibility tree. |`string \| undefined`|`undefined`|
13
-
|`ariaLabel`|`aria-label`| Specifies the label to use for accessibility. Defaults to the icon name. |`string \| undefined`|`undefined`|
14
-
|`color`|`color`| The color to use for the background of the item. |`string \| undefined`|`undefined`|
15
-
|`flipRtl`|`flip-rtl`| Specifies whether the icon should horizontally flip when `dir` is `"rtl"`. |`boolean \| undefined`|`undefined`|
16
-
|`icon`|`icon`| A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property. |`any`|`undefined`|
17
-
|`ios`|`ios`| Specifies which icon to use on `ios` mode. |`string \| undefined`|`undefined`|
18
-
|`lazy`|`lazy`| If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`. |`boolean`|`false`|
19
-
|`md`|`md`| Specifies which icon to use on `md` mode. |`string \| undefined`|`undefined`|
20
-
|`mode`|`mode`| The mode determines which platform styles to use. |`string`|`getIonMode()`|
21
-
|`name`|`name`| Specifies which icon to use from the built-in set of icons. |`string \| undefined`|`undefined`|
22
-
|`sanitize`|`sanitize`| When set to `false`, SVG content that is HTTP fetched will not be checked if the response SVG content has any `<script>` elements, or any attributes that start with `on`, such as `onclick`. |`boolean`|`true`|
23
-
|`size`|`size`| The size of the icon. Available options are: `"small"` and `"large"`. |`string \| undefined`|`undefined`|
24
-
|`src`|`src`| Specifies the exact `src` of an SVG file to use. |`string \| undefined`|`undefined`|
|`color`|`color`| The color to use for the background of the item. |`string \| undefined`|`undefined`|
13
+
|`flipRtl`|`flip-rtl`| Specifies whether the icon should horizontally flip when `dir` is `"rtl"`. |`boolean \| undefined`|`undefined`|
14
+
|`icon`|`icon`| A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property. |`any`|`undefined`|
15
+
|`ios`|`ios`| Specifies which icon to use on `ios` mode. |`string \| undefined`|`undefined`|
16
+
|`lazy`|`lazy`| If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`. |`boolean`|`false`|
17
+
|`md`|`md`| Specifies which icon to use on `md` mode. |`string \| undefined`|`undefined`|
18
+
|`mode`|`mode`| The mode determines which platform styles to use. |`string`|`getIonMode()`|
19
+
|`name`|`name`| Specifies which icon to use from the built-in set of icons. |`string \| undefined`|`undefined`|
20
+
|`sanitize`|`sanitize`| When set to `false`, SVG content that is HTTP fetched will not be checked if the response SVG content has any `<script>` elements, or any attributes that start with `on`, such as `onclick`. |`boolean`|`true`|
21
+
|`size`|`size`| The size of the icon. Available options are: `"small"` and `"large"`. |`string \| undefined`|`undefined`|
22
+
|`src`|`src`| Specifies the exact `src` of an SVG file to use. |`string \| undefined`|`undefined`|
0 commit comments