@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
23 lines (22 loc) • 671 B
TypeScript
declare enum KolEvent {
blur = "kolBlur",
change = "kolChange",
changePage = "kolChangePage",
changePageSize = "kolChangePageSize",
click = "kolClick",
close = "kolClose",
create = "kolCreate",
focus = "kolFocus",
input = "kolInput",
keydown = "kolKeydown",
mousedown = "kolMousedown",
reset = "kolReset",
select = "kolSelect",
selectionChange = "kolSelectionChange",
settingsChange = "settingsChange",
sort = "kolSort",
submit = "kolSubmit",
toggle = "kolToggle"
}
declare function dispatchDomEvent<T>(target: HTMLElement, event: KolEvent, detail?: T): void;
export { KolEvent, dispatchDomEvent };