File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 7
7
import { HTMLStencilElement , JSXBase } from "@stencil/core/internal" ;
8
8
export namespace Components {
9
9
interface IonIcon {
10
+ /**
11
+ * Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.
12
+ */
10
13
"ariaHidden" ?: string ;
11
14
/**
12
15
* Specifies the label to use for accessibility. Defaults to the icon name.
@@ -67,6 +70,9 @@ declare global {
67
70
}
68
71
declare namespace LocalJSX {
69
72
interface IonIcon {
73
+ /**
74
+ * Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.
75
+ */
70
76
"ariaHidden" ?: string ;
71
77
/**
72
78
* Specifies the label to use for accessibility. Defaults to the icon name.
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ export class Icon {
32
32
*/
33
33
@Prop ( { mutable : true , reflectToAttr : true } ) ariaLabel ?: string ;
34
34
35
+ /**
36
+ * Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.
37
+ */
35
38
@Prop ( { reflect : true } ) ariaHidden ?: string ;
36
39
37
40
/**
You can’t perform that action at this time.
0 commit comments