Skip to content

Commit

Permalink
Add <woltlab-core-toggle-button> to the global.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdesign committed Nov 15, 2024
1 parent 259cbd5 commit 4e84614
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ts/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ declare global {
set url(url: string);
}

interface WoltlabCoreToggleButtonElement extends HTMLElement {
toggle(): void;
get checked(): boolean;
set checked(checked: boolean);
}

interface HTMLElementTagNameMap {
"fa-brand": FaBrand;
"fa-icon": FaIcon;
Expand All @@ -132,9 +138,10 @@ declare global {
"woltlab-core-date-time": WoltlabCoreDateTime;
"woltlab-core-file": WoltlabCoreFileElement;
"woltlab-core-file-upload": WoltlabCoreFileUploadElement;
"woltlab-core-google-maps": WoltlabCoreGoogleMapsElement;
"woltlab-core-loading-indicator": WoltlabCoreLoadingIndicatorElement;
"woltlab-core-pagination": WoltlabCorePaginationElement;
"woltlab-core-google-maps": WoltlabCoreGoogleMapsElement;
"woltlab-core-reaction-summary": WoltlabCoreReactionSummaryElement;
"woltlab-core-toggle-button": WoltlabCoreToggleButtonElement;
}
}

0 comments on commit 4e84614

Please sign in to comment.