Skip to content

Commit

Permalink
Merge pull request #105 from github/upgrade-to-new-web-component-stan…
Browse files Browse the repository at this point in the history
…dards

Upgrade to new web component standards
  • Loading branch information
keithamus authored Apr 25, 2023
2 parents 224c04c + aa2a262 commit ac8710b
Show file tree
Hide file tree
Showing 7 changed files with 679 additions and 1,518 deletions.
57 changes: 49 additions & 8 deletions custom-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,42 @@
{
"kind": "class",
"description": "",
"name": "AutocompleteElement",
"name": "AutoCompleteEvent",
"members": [
{
"kind": "field",
"name": "relatedTarget",
"type": {
"text": "HTMLInputElement"
},
"default": "relatedTarget"
}
],
"superclass": {
"name": "Event",
"module": "src/auto-complete-element.ts"
}
},
{
"kind": "class",
"description": "",
"name": "AutoCompleteElement",
"members": [
{
"kind": "method",
"name": "define",
"static": true,
"parameters": [
{
"name": "tag",
"default": "'auto-complete'"
},
{
"name": "registry",
"default": "customElements"
}
]
},
{
"kind": "method",
"name": "setCSPTrustedTypesPolicy",
Expand Down Expand Up @@ -123,7 +157,7 @@
{
"name": "auto-complete-change",
"type": {
"text": "AutocompleteEvent"
"text": "AutoCompleteEvent"
}
}
],
Expand All @@ -141,24 +175,31 @@
"superclass": {
"name": "HTMLElement"
},
"tagName": "auto-complete",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "default",
"name": "AutoCompleteEvent",
"declaration": {
"name": "AutocompleteElement",
"name": "AutoCompleteEvent",
"module": "src/auto-complete-element.ts"
}
},
{
"kind": "custom-element-definition",
"name": "auto-complete",
"kind": "js",
"name": "AutoCompleteElement",
"declaration": {
"name": "AutoCompleteElement",
"module": "src/auto-complete-element.ts"
}
},
{
"kind": "js",
"name": "default",
"declaration": {
"name": "AutocompleteElement",
"name": "AutoCompleteElement",
"module": "src/auto-complete-element.ts"
}
}
Expand Down
Loading

0 comments on commit ac8710b

Please sign in to comment.