feat: add support for webkitdirectory DOM boolean attribute (#10847)

* feat: add support for webkitdirectory DOM boolean attribute

* add to types

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/10849/head
Dominic Gannaway 1 year ago committed by GitHub
parent c564c77199
commit f5f9465edc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"svelte": patch
---
feat: add support for webkitdirectory DOM boolean attribute

@ -1056,6 +1056,7 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
type?: HTMLInputTypeAttribute | undefined | null;
value?: any;
width?: number | string | undefined | null;
webkitdirectory?: boolean | undefined | null;
'on:change'?: ChangeEventHandler<HTMLInputElement> | undefined | null;
onchange?: ChangeEventHandler<HTMLInputElement> | undefined | null;

@ -83,7 +83,8 @@ export const DOMBooleanAttributes = [
'required',
'reversed',
'seamless',
'selected'
'selected',
'webkitdirectory'
];
export const namespace_svg = 'http://www.w3.org/2000/svg';

Loading…
Cancel
Save