|
|
|
@ -529,15 +529,14 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
is?: string | undefined | null;
|
|
|
|
is?: string | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
// Svelte bind:x
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
|
|
|
|
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
innerHTML?: string | undefined | null;
|
|
|
|
'bind:innerHTML'?: string | undefined | null;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
|
|
|
|
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
textContent?: string | undefined | null;
|
|
|
|
'bind:textContent'?: string | undefined | null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type HTMLAttributeAnchorTarget =
|
|
|
|
export type HTMLAttributeAnchorTarget =
|
|
|
|
@ -626,6 +625,8 @@ export interface HTMLDataAttributes extends HTMLAttributes<HTMLDataElement> {
|
|
|
|
|
|
|
|
|
|
|
|
export interface HTMLDetailsAttributes extends HTMLAttributes<HTMLDetailsElement> {
|
|
|
|
export interface HTMLDetailsAttributes extends HTMLAttributes<HTMLDetailsElement> {
|
|
|
|
open?: boolean | undefined | null;
|
|
|
|
open?: boolean | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'bind:open'?: boolean | undefined | null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface HTMLDelAttributes extends HTMLAttributes<HTMLModElement> {
|
|
|
|
export interface HTMLDelAttributes extends HTMLAttributes<HTMLModElement> {
|
|
|
|
@ -769,10 +770,11 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
|
|
|
|
|
|
|
|
|
|
|
|
'on:change'?: ChangeEventHandler<HTMLInputElement> | undefined | null;
|
|
|
|
'on:change'?: ChangeEventHandler<HTMLInputElement> | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
// Svelte bind:x
|
|
|
|
'bind:checked'?: boolean | undefined | null;
|
|
|
|
group?: any | undefined | null;
|
|
|
|
'bind:value'?: any;
|
|
|
|
files?: FileList | undefined | null;
|
|
|
|
'bind:group'?: any | undefined | null;
|
|
|
|
indeterminate?: boolean | undefined | null;
|
|
|
|
'bind:files'?: FileList | undefined | null;
|
|
|
|
|
|
|
|
'bind:indeterminate'?: boolean | undefined | null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface HTMLKeygenAttributes extends HTMLAttributes<HTMLElement> {
|
|
|
|
export interface HTMLKeygenAttributes extends HTMLAttributes<HTMLElement> {
|
|
|
|
@ -836,22 +838,23 @@ export interface HTMLMediaAttributes<T extends HTMLMediaElement> extends HTMLAtt
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
volume?: number | undefined | null;
|
|
|
|
volume?: number | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
// Svelte bind:x
|
|
|
|
readonly 'bind:duration'?: number | undefined | null;
|
|
|
|
readonly duration?: number | undefined | null;
|
|
|
|
readonly 'bind:buffered'?: SvelteMediaTimeRange[] | undefined | null;
|
|
|
|
readonly buffered?: SvelteMediaTimeRange[] | undefined | null;
|
|
|
|
readonly 'bind:played'?: SvelteMediaTimeRange[] | undefined | null;
|
|
|
|
readonly played?: SvelteMediaTimeRange[] | undefined | null;
|
|
|
|
readonly 'bind:seekable'?: SvelteMediaTimeRange[] | undefined | null;
|
|
|
|
readonly seekable?: SvelteMediaTimeRange[] | undefined | null;
|
|
|
|
readonly 'bind:seeking'?: boolean | undefined | null;
|
|
|
|
readonly seeking?: boolean | undefined | null;
|
|
|
|
readonly 'bind:ended'?: boolean | undefined | null;
|
|
|
|
readonly ended?: boolean | undefined | null;
|
|
|
|
'bind:muted'?: boolean | undefined | null;
|
|
|
|
|
|
|
|
'bind:volume'?: number | undefined | null;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* the current playback time in the video, in seconds
|
|
|
|
* the current playback time in the video, in seconds
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
currentTime?: number | undefined | null;
|
|
|
|
'bind:currentTime'?: number | undefined | null;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* how fast or slow to play the video, where 1 is 'normal'
|
|
|
|
* how fast or slow to play the video, where 1 is 'normal'
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
playbackRate?: number | undefined | null;
|
|
|
|
'bind:playbackRate'?: number | undefined | null;
|
|
|
|
paused?: boolean | undefined | null;
|
|
|
|
'bind:paused'?: boolean | undefined | null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface HTMLMetaAttributes extends HTMLAttributes<HTMLMetaElement> {
|
|
|
|
export interface HTMLMetaAttributes extends HTMLAttributes<HTMLMetaElement> {
|
|
|
|
@ -951,6 +954,8 @@ export interface HTMLSelectAttributes extends HTMLAttributes<HTMLSelectElement>
|
|
|
|
value?: any;
|
|
|
|
value?: any;
|
|
|
|
|
|
|
|
|
|
|
|
'on:change'?: ChangeEventHandler<HTMLSelectElement> | undefined | null;
|
|
|
|
'on:change'?: ChangeEventHandler<HTMLSelectElement> | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'bind:value'?: any;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface HTMLSourceAttributes extends HTMLAttributes<HTMLSourceElement> {
|
|
|
|
export interface HTMLSourceAttributes extends HTMLAttributes<HTMLSourceElement> {
|
|
|
|
@ -999,6 +1004,8 @@ export interface HTMLTextareaAttributes extends HTMLAttributes<HTMLTextAreaEleme
|
|
|
|
wrap?: string | undefined | null;
|
|
|
|
wrap?: string | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
'on:change'?: ChangeEventHandler<HTMLTextAreaElement> | undefined | null;
|
|
|
|
'on:change'?: ChangeEventHandler<HTMLTextAreaElement> | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'bind:value'?: any;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface HTMLTdAttributes extends HTMLAttributes<HTMLTableCellElement> {
|
|
|
|
export interface HTMLTdAttributes extends HTMLAttributes<HTMLTableCellElement> {
|
|
|
|
@ -1042,9 +1049,8 @@ export interface HTMLVideoAttributes extends HTMLMediaAttributes<HTMLVideoElemen
|
|
|
|
disablepictureinpicture?: boolean | undefined | null;
|
|
|
|
disablepictureinpicture?: boolean | undefined | null;
|
|
|
|
disableremoteplayback?: boolean | undefined | null;
|
|
|
|
disableremoteplayback?: boolean | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
// Svelte bind:x
|
|
|
|
readonly 'bind:videoWidth'?: number | undefined | null;
|
|
|
|
readonly videoWidth?: number | undefined | null;
|
|
|
|
readonly 'bind:videoHeight'?: number | undefined | null;
|
|
|
|
readonly videoHeight?: number | undefined | null;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface SvelteMediaTimeRange {
|
|
|
|
export interface SvelteMediaTimeRange {
|
|
|
|
@ -1053,13 +1059,13 @@ export interface SvelteMediaTimeRange {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface SvelteWindowAttributes extends HTMLAttributes<Window> {
|
|
|
|
export interface SvelteWindowAttributes extends HTMLAttributes<Window> {
|
|
|
|
readonly innerWidth?: Window['innerWidth'] | undefined | null;
|
|
|
|
readonly 'bind:innerWidth'?: Window['innerWidth'] | undefined | null;
|
|
|
|
readonly innerHeight?: Window['innerHeight'] | undefined | null;
|
|
|
|
readonly 'bind:innerHeight'?: Window['innerHeight'] | undefined | null;
|
|
|
|
readonly outerWidth?: Window['outerWidth'] | undefined | null;
|
|
|
|
readonly 'bind:outerWidth'?: Window['outerWidth'] | undefined | null;
|
|
|
|
readonly outerHeight?: Window['outerHeight'] | undefined | null;
|
|
|
|
readonly 'bind:outerHeight'?: Window['outerHeight'] | undefined | null;
|
|
|
|
scrollX?: Window['scrollX'] | undefined | null;
|
|
|
|
'bind:scrollX'?: Window['scrollX'] | undefined | null;
|
|
|
|
scrollY?: Window['scrollY'] | undefined | null;
|
|
|
|
'bind:scrollY'?: Window['scrollY'] | undefined | null;
|
|
|
|
readonly online?: Window['navigator']['onLine'] | undefined | null;
|
|
|
|
readonly 'bind:online'?: Window['navigator']['onLine'] | undefined | null;
|
|
|
|
|
|
|
|
|
|
|
|
// SvelteKit
|
|
|
|
// SvelteKit
|
|
|
|
'on:sveltekit:start'?: EventHandler<CustomEvent, Window> | undefined | null;
|
|
|
|
'on:sveltekit:start'?: EventHandler<CustomEvent, Window> | undefined | null;
|
|
|
|
|