mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-29 16:36:44 +01:00
feat: Add -replacestate/-keepfocus to SvelteKit anchor tag props (#8281)
This commit is contained in:
parent
5a3a1e488a
commit
b0fed256f7
2
elements/index.d.ts
vendored
2
elements/index.d.ts
vendored
@ -540,10 +540,12 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
|
||||
'bind:textContent'?: string | undefined | null;
|
||||
|
||||
// SvelteKit
|
||||
'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
|
||||
'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
|
||||
'data-sveltekit-preload-code'?: true | '' | 'eager' | 'viewport' | 'hover' | 'tap' | 'off' | undefined | null;
|
||||
'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
|
||||
'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
|
||||
'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
|
||||
}
|
||||
|
||||
export type HTMLAttributeAnchorTarget =
|
||||
|
Loading…
Reference in New Issue
Block a user