generated from aarongustafson/web-component-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom-elements.json
More file actions
98 lines (98 loc) · 2.44 KB
/
custom-elements.json
File metadata and controls
98 lines (98 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "tabbed-interface.js",
"declarations": [
{
"kind": "class",
"description": "A web component that transforms heading-structured content into an accessible tabbed interface",
"name": "TabbedInterfaceElement",
"members": [
{
"kind": "field",
"name": "activeIndex",
"type": { "text": "number" },
"description": "Gets or sets the current active tab index"
},
{
"kind": "field",
"name": "showHeaders",
"type": { "text": "boolean" },
"description": "Whether to show headers in tab panels"
},
{
"kind": "field",
"name": "tablistAfter",
"type": { "text": "boolean" },
"description": "Whether tablist is positioned after content"
},
{
"kind": "method",
"name": "next",
"description": "Navigate to the next tab"
},
{
"kind": "method",
"name": "previous",
"description": "Navigate to the previous tab"
},
{
"kind": "method",
"name": "first",
"description": "Navigate to the first tab"
},
{
"kind": "method",
"name": "last",
"description": "Navigate to the last tab"
}
],
"events": [
{
"name": "tabbed-interface:change",
"description": "Fired when the active tab changes",
"type": {
"text": "CustomEvent<{ tabId: string, tabpanelId: string, tabIndex: number }>"
}
}
],
"attributes": [
{
"name": "show-headers",
"type": { "text": "boolean" },
"description": "When present, shows the heading elements within tab panels (default: false)"
},
{
"name": "tablist-after",
"type": { "text": "boolean" },
"description": "When present, positions the tab list after the content (default: false)"
},
{
"name": "default-tab",
"type": { "text": "string" },
"description": "Index or heading ID of the tab to show by default"
}
],
"superclass": {
"name": "HTMLElement"
},
"tagName": "tabbed-interface",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "TabbedInterfaceElement",
"declaration": {
"name": "TabbedInterfaceElement",
"module": "tabbed-interface.js"
}
}
]
}
]
}