File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
language-server/src/plugins/html Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -245,11 +245,18 @@ const videoAttributes: IAttributeData[] = [
245245 }
246246] ;
247247
248+ const indeterminateAttribute : IAttributeData = {
249+ name : 'indeterminate' ,
250+ description : 'Available for type="checkbox"'
251+ } ;
252+
248253const addAttributes : Record < string , IAttributeData [ ] > = {
249254 select : [ { name : 'bind:value' } ] ,
250255 input : [
251256 { name : 'bind:value' } ,
252- { name : 'bind:group' , description : 'Available for type="radio" and type="checkbox"' }
257+ { name : 'bind:group' , description : 'Available for type="radio" and type="checkbox"' } ,
258+ indeterminateAttribute ,
259+ { ...indeterminateAttribute , name : 'bind:indeterminate' }
253260 ] ,
254261 textarea : [ { name : 'bind:value' } ] ,
255262 video : [ ...mediaAttributes , ...videoAttributes ] ,
Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ declare namespace svelte.JSX {
229229 allow ?: string ;
230230 allowfullscreen ?: boolean ;
231231 allowtransparency ?: boolean ;
232+ allowpaymentrequest ?: boolean ;
232233 alt ?: string ;
233234 async ?: boolean ;
234235 autocomplete ?: string ;
@@ -296,6 +297,7 @@ declare namespace svelte.JSX {
296297 inputmode ?: string ;
297298 integrity ?: string ;
298299 is ?: string ;
300+ ismap ?: boolean ;
299301 keyparams ?: string ;
300302 keytype ?: string ;
301303 kind ?: string ;
@@ -685,6 +687,7 @@ declare namespace svelte.JSX {
685687 interface SvelteInputProps extends HTMLProps < HTMLInputElement > {
686688 group ?: any ;
687689 files ?: FileList | null ;
690+ indeterminate ?: boolean ;
688691 }
689692
690693 interface SvelteWindowProps {
You can’t perform that action at this time.
0 commit comments