mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-21 16:25:11 +02:00
feat: on:enter events and library scrollIntoView
This commit is contained in:
15
src/lib/types/additional-svelte-typings.d.ts
vendored
Normal file
15
src/lib/types/additional-svelte-typings.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { EnterEvent } from '../selectable';
|
||||
|
||||
declare namespace svelteHTML {
|
||||
// enhance elements
|
||||
interface IntrinsicElements {
|
||||
Container: { 'on:enter': (e: EnterEvent) => void };
|
||||
}
|
||||
// // enhance attributes
|
||||
// interface HTMLAttributes<T> {
|
||||
// // If you want to use on:beforeinstallprompt
|
||||
// 'on:beforeinstallprompt'?: (event: any) => any;
|
||||
// // If you want to use myCustomAttribute={..} (note: all lowercase)
|
||||
// mycustomattribute?: any; // You can replace any with something more specific if you like
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user