mirror of
https://github.com/archtechx/alpine-typescript.git
synced 2025-12-12 06:44:03 +00:00
Element -> HTMLElement
This commit is contained in:
parent
1a121cc6bd
commit
791d2795a5
2 changed files with 3 additions and 3 deletions
|
|
@ -4,10 +4,10 @@ type ComponentConstructor = (...args: any[]) => object;
|
|||
|
||||
export class AlpineComponent {
|
||||
/** Retrieve the root component DOM node. */
|
||||
$el?: Element;
|
||||
$el?: HTMLElement;
|
||||
|
||||
/** Retrieve DOM elements marked with x-ref inside the component. */
|
||||
$refs?: { [name: string]: Element };
|
||||
$refs?: { [name: string]: HTMLElement };
|
||||
|
||||
/** Retrieve the native browser "Event" object within an event listener. */
|
||||
$event?: Event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue