File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { ElementInternals } from "./element-internals" ;
2
+
1
3
export interface IAom {
2
4
ariaAtomic : string ;
3
5
ariaAutoComplete : string ;
@@ -48,12 +50,14 @@ export interface IElementInternals extends IAom {
48
50
validationMessage ?: string ,
49
51
anchor ?: HTMLElement
50
52
) => void ;
53
+ shadowRoot : ShadowRoot ;
51
54
validationMessage : string ;
52
55
validity : globalThis . ValidityState ;
53
56
willValidate : boolean ;
54
57
}
55
58
56
59
export interface ICustomElement extends HTMLElement {
60
+ constructor : ( ...args : any [ ] ) => HTMLElement ;
57
61
attributeChangedCallback ?: (
58
62
name : string ,
59
63
oldValue : any ,
@@ -62,6 +66,7 @@ export interface ICustomElement extends HTMLElement {
62
66
connectedCallback ?: ( ) => void ;
63
67
disconnectedCallback ?: ( ) => void ;
64
68
attachedCallback ?: ( ) => void ;
69
+ attachInternals : ( ) => IElementInternals ;
65
70
formDisabledCallback ?: ( isDisabled : boolean ) => void ;
66
71
formResetCallback ?: ( ) => void ;
67
72
formAssociatedCallback ?: ( form : HTMLFormElement ) => void ;
You can’t perform that action at this time.
0 commit comments