@typesafe-html5/typescript 0.2.62 → 0.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-all.mjs +54 -0
- package/dist/block/article/article.js +465 -0
- package/dist/block/article/article.js.map +7 -0
- package/dist/block/aside/aside.js +476 -0
- package/dist/block/aside/aside.js.map +7 -0
- package/dist/block/audio/audio.js +454 -0
- package/dist/block/audio/audio.js.map +7 -0
- package/dist/block/blockquote/blockquote.js +476 -0
- package/dist/block/blockquote/blockquote.js.map +7 -0
- package/dist/block/body/body.js +378 -0
- package/dist/block/body/body.js.map +7 -0
- package/dist/block/canvas/canvas.js +487 -0
- package/dist/block/canvas/canvas.js.map +7 -0
- package/dist/block/caption/caption.js +465 -0
- package/dist/block/caption/caption.js.map +7 -0
- package/dist/block/colgroup/colgroup.js +190 -0
- package/dist/block/colgroup/colgroup.js.map +7 -0
- package/dist/block/datalist/datalist.js +465 -0
- package/dist/block/datalist/datalist.js.map +7 -0
- package/dist/block/dd/dd.js +422 -0
- package/dist/block/dd/dd.js.map +7 -0
- package/dist/block/del/del.js +487 -0
- package/dist/block/del/del.js.map +7 -0
- package/dist/block/details/details.js +520 -0
- package/dist/block/details/details.js.map +7 -0
- package/dist/block/dialog/dialog.js +520 -0
- package/dist/block/dialog/dialog.js.map +7 -0
- package/dist/block/div/div.js +520 -0
- package/dist/block/div/div.js.map +7 -0
- package/dist/block/dl/dl.js +465 -0
- package/dist/block/dl/dl.js.map +7 -0
- package/dist/block/dt/dt.js +422 -0
- package/dist/block/dt/dt.js.map +7 -0
- package/dist/block/embed/embed.js +333 -0
- package/dist/block/embed/embed.js.map +7 -0
- package/dist/block/fieldset/fieldset.js +509 -0
- package/dist/block/fieldset/fieldset.js.map +7 -0
- package/dist/block/figcaption/figcaption.js +465 -0
- package/dist/block/figcaption/figcaption.js.map +7 -0
- package/dist/block/figure/figure.js +465 -0
- package/dist/block/figure/figure.js.map +7 -0
- package/dist/block/footer/footer.js +476 -0
- package/dist/block/footer/footer.js.map +7 -0
- package/dist/block/form/form.js +443 -0
- package/dist/block/form/form.js.map +7 -0
- package/dist/block/h1/h1.js +454 -0
- package/dist/block/h1/h1.js.map +7 -0
- package/dist/block/h2/h2.js +454 -0
- package/dist/block/h2/h2.js.map +7 -0
- package/dist/block/h3/h3.js +454 -0
- package/dist/block/h3/h3.js.map +7 -0
- package/dist/block/h4/h4.js +454 -0
- package/dist/block/h4/h4.js.map +7 -0
- package/dist/block/h5/h5.js +454 -0
- package/dist/block/h5/h5.js.map +7 -0
- package/dist/block/h6/h6.js +454 -0
- package/dist/block/h6/h6.js.map +7 -0
- package/dist/block/header/header.js +322 -0
- package/dist/block/header/header.js.map +7 -0
- package/dist/block/hgroup/hgroup.js +465 -0
- package/dist/block/hgroup/hgroup.js.map +7 -0
- package/dist/block/hr/hr.js +169 -0
- package/dist/block/hr/hr.js.map +7 -0
- package/dist/block/html/html.js +92 -0
- package/dist/block/html/html.js.map +7 -0
- package/dist/block/iframe/iframe.js +465 -0
- package/dist/block/iframe/iframe.js.map +7 -0
- package/dist/block/ins/ins.js +487 -0
- package/dist/block/ins/ins.js.map +7 -0
- package/dist/block/legend/legend.js +465 -0
- package/dist/block/legend/legend.js.map +7 -0
- package/dist/block/li/li.js +488 -0
- package/dist/block/li/li.js.map +7 -0
- package/dist/block/main/main.js +444 -0
- package/dist/block/main/main.js.map +7 -0
- package/dist/block/map/map.js +476 -0
- package/dist/block/map/map.js.map +7 -0
- package/dist/block/menu/menu.js +498 -0
- package/dist/block/menu/menu.js.map +7 -0
- package/dist/block/nav/nav.js +455 -0
- package/dist/block/nav/nav.js.map +7 -0
- package/dist/block/noscript/noscript.js +311 -0
- package/dist/block/noscript/noscript.js.map +7 -0
- package/dist/block/object/object.js +542 -0
- package/dist/block/object/object.js.map +7 -0
- package/dist/block/ol/ol.js +542 -0
- package/dist/block/ol/ol.js.map +7 -0
- package/dist/block/optgroup/optgroup.js +476 -0
- package/dist/block/optgroup/optgroup.js.map +7 -0
- package/dist/block/option/option.js +542 -0
- package/dist/block/option/option.js.map +7 -0
- package/dist/block/p/p.js +465 -0
- package/dist/block/p/p.js.map +7 -0
- package/dist/block/picture/picture.js +465 -0
- package/dist/block/picture/picture.js.map +7 -0
- package/dist/block/pre/pre.js +465 -0
- package/dist/block/pre/pre.js.map +7 -0
- package/dist/block/section/section.js +487 -0
- package/dist/block/section/section.js.map +7 -0
- package/dist/block/summary/summary.js +466 -0
- package/dist/block/summary/summary.js.map +7 -0
- package/dist/block/table/table.js +509 -0
- package/dist/block/table/table.js.map +7 -0
- package/dist/block/tbody/tbody.js +465 -0
- package/dist/block/tbody/tbody.js.map +7 -0
- package/dist/block/td/td.js +575 -0
- package/dist/block/td/td.js.map +7 -0
- package/dist/block/template/template.js +465 -0
- package/dist/block/template/template.js.map +7 -0
- package/dist/block/tfoot/tfoot.js +465 -0
- package/dist/block/tfoot/tfoot.js.map +7 -0
- package/dist/block/th/th.js +586 -0
- package/dist/block/th/th.js.map +7 -0
- package/dist/block/thead/thead.js +465 -0
- package/dist/block/thead/thead.js.map +7 -0
- package/dist/block/tr/tr.js +586 -0
- package/dist/block/tr/tr.js.map +7 -0
- package/dist/block/ul/ul.js +509 -0
- package/dist/block/ul/ul.js.map +7 -0
- package/dist/block/video/video.js +575 -0
- package/dist/block/video/video.js.map +7 -0
- package/dist/index.js +48830 -0
- package/dist/index.js.map +7 -0
- package/dist/inline/a/a.js +586 -0
- package/dist/inline/a/a.js.map +7 -0
- package/dist/inline/abbr/abbr.js +454 -0
- package/dist/inline/abbr/abbr.js.map +7 -0
- package/dist/inline/address/address.js +443 -0
- package/dist/inline/address/address.js.map +7 -0
- package/dist/inline/b/b.js +465 -0
- package/dist/inline/b/b.js.map +7 -0
- package/dist/inline/bdi/bdi.js +454 -0
- package/dist/inline/bdi/bdi.js.map +7 -0
- package/dist/inline/bdo/bdo.js +465 -0
- package/dist/inline/bdo/bdo.js.map +7 -0
- package/dist/inline/button/button.js +685 -0
- package/dist/inline/button/button.js.map +7 -0
- package/dist/inline/cite/cite.js +465 -0
- package/dist/inline/cite/cite.js.map +7 -0
- package/dist/inline/code/code.js +465 -0
- package/dist/inline/code/code.js.map +7 -0
- package/dist/inline/data/data.js +476 -0
- package/dist/inline/data/data.js.map +7 -0
- package/dist/inline/dfn/dfn.js +465 -0
- package/dist/inline/dfn/dfn.js.map +7 -0
- package/dist/inline/em/em.js +465 -0
- package/dist/inline/em/em.js.map +7 -0
- package/dist/inline/i/i.js +465 -0
- package/dist/inline/i/i.js.map +7 -0
- package/dist/inline/img/img.js +399 -0
- package/dist/inline/img/img.js.map +7 -0
- package/dist/inline/input/input.js +938 -0
- package/dist/inline/input/input.js.map +7 -0
- package/dist/inline/kbd/kbd.js +465 -0
- package/dist/inline/kbd/kbd.js.map +7 -0
- package/dist/inline/label/label.js +487 -0
- package/dist/inline/label/label.js.map +7 -0
- package/dist/inline/mark/mark.js +465 -0
- package/dist/inline/mark/mark.js.map +7 -0
- package/dist/inline/meter/meter.js +498 -0
- package/dist/inline/meter/meter.js.map +7 -0
- package/dist/inline/output/output.js +410 -0
- package/dist/inline/output/output.js.map +7 -0
- package/dist/inline/progress/progress.js +454 -0
- package/dist/inline/progress/progress.js.map +7 -0
- package/dist/inline/q/q.js +476 -0
- package/dist/inline/q/q.js.map +7 -0
- package/dist/inline/rp/rp.js +465 -0
- package/dist/inline/rp/rp.js.map +7 -0
- package/dist/inline/rt/rt.js +465 -0
- package/dist/inline/rt/rt.js.map +7 -0
- package/dist/inline/ruby/ruby.js +465 -0
- package/dist/inline/ruby/ruby.js.map +7 -0
- package/dist/inline/s/s.js +465 -0
- package/dist/inline/s/s.js.map +7 -0
- package/dist/inline/samp/samp.js +465 -0
- package/dist/inline/samp/samp.js.map +7 -0
- package/dist/inline/select/select.js +674 -0
- package/dist/inline/select/select.js.map +7 -0
- package/dist/inline/slot/slot.js +476 -0
- package/dist/inline/slot/slot.js.map +7 -0
- package/dist/inline/small/small.js +465 -0
- package/dist/inline/small/small.js.map +7 -0
- package/dist/inline/span/span.js +465 -0
- package/dist/inline/span/span.js.map +7 -0
- package/dist/inline/strong/strong.js +465 -0
- package/dist/inline/strong/strong.js.map +7 -0
- package/dist/inline/sub/sub.js +465 -0
- package/dist/inline/sub/sub.js.map +7 -0
- package/dist/inline/sup/sup.js +465 -0
- package/dist/inline/sup/sup.js.map +7 -0
- package/dist/inline/svg/svg.js +542 -0
- package/dist/inline/svg/svg.js.map +7 -0
- package/dist/inline/textarea/textarea.js +718 -0
- package/dist/inline/textarea/textarea.js.map +7 -0
- package/dist/inline/time/time.js +476 -0
- package/dist/inline/time/time.js.map +7 -0
- package/dist/inline/u/u.js +465 -0
- package/dist/inline/u/u.js.map +7 -0
- package/dist/inline/var/var.js +465 -0
- package/dist/inline/var/var.js.map +7 -0
- package/dist/void/area/area.js +388 -0
- package/dist/void/area/area.js.map +7 -0
- package/dist/void/base/base.js +37 -0
- package/dist/void/base/base.js.map +7 -0
- package/dist/void/br/br.js +135 -0
- package/dist/void/br/br.js.map +7 -0
- package/dist/void/col/col.js +135 -0
- package/dist/void/col/col.js.map +7 -0
- package/dist/void/head/head.js +37 -0
- package/dist/void/head/head.js.map +7 -0
- package/dist/void/link/link.js +213 -0
- package/dist/void/link/link.js.map +7 -0
- package/dist/void/meta/meta.js +147 -0
- package/dist/void/meta/meta.js.map +7 -0
- package/dist/void/param/param.js +146 -0
- package/dist/void/param/param.js.map +7 -0
- package/dist/void/script/script.js +213 -0
- package/dist/void/script/script.js.map +7 -0
- package/dist/void/source/source.js +168 -0
- package/dist/void/source/source.js.map +7 -0
- package/dist/void/style/style.js +147 -0
- package/dist/void/style/style.js.map +7 -0
- package/dist/void/title/title.js +37 -0
- package/dist/void/title/title.js.map +7 -0
- package/dist/void/track/track.js +190 -0
- package/dist/void/track/track.js.map +7 -0
- package/dist/void/wbr/wbr.js +124 -0
- package/dist/void/wbr/wbr.js.map +7 -0
- package/package.json +4 -4
- package/src/block/article/article.ts +649 -0
- package/{block → src/block}/aside/aside.ts +144 -1
- package/{block → src/block}/audio/audio.ts +128 -1
- package/src/block/blockquote/blockquote.ts +665 -0
- package/{block → src/block}/body/body.ts +91 -1
- package/{block → src/block}/canvas/canvas.ts +144 -1
- package/src/block/caption/caption.ts +649 -0
- package/{block → src/block}/colgroup/colgroup.ts +96 -1
- package/src/block/datalist/datalist.ts +649 -0
- package/{block/dialog/dialog.ts → src/block/dd/dd.ts} +114 -88
- package/{block → src/block}/del/del.ts +144 -1
- package/src/block/details/details.ts +729 -0
- package/src/block/dialog/dialog.ts +729 -0
- package/src/block/div/div.ts +729 -0
- package/src/block/dl/dl.ts +649 -0
- package/{block/details/details.ts → src/block/dt/dt.ts} +114 -88
- package/{block → src/block}/embed/embed.ts +144 -1
- package/{block → src/block}/fieldset/fieldset.ts +144 -1
- package/src/block/figcaption/figcaption.ts +649 -0
- package/src/block/figure/figure.ts +649 -0
- package/src/block/footer/footer.ts +665 -0
- package/{block → src/block}/form/form.ts +132 -5
- package/src/block/h1/h1.ts +633 -0
- package/src/block/h2/h2.ts +633 -0
- package/src/block/h3/h3.ts +633 -0
- package/src/block/h4/h4.ts +633 -0
- package/src/block/h5/h5.ts +633 -0
- package/src/block/h6/h6.ts +633 -0
- package/{block → src/block}/header/header.ts +144 -1
- package/src/block/hgroup/hgroup.ts +649 -0
- package/{block → src/block}/hr/hr.ts +59 -1
- package/{block → src/block}/html/html.ts +27 -1
- package/{block → src/block}/iframe/iframe.ts +112 -1
- package/{block → src/block}/ins/ins.ts +144 -1
- package/src/block/legend/legend.ts +649 -0
- package/{block → src/block}/li/li.ts +107 -1
- package/{block/div/div.ts → src/block/main/main.ts} +112 -54
- package/src/block/map/map.ts +665 -0
- package/{block → src/block}/menu/menu.ts +144 -1
- package/{block → src/block}/nav/nav.ts +107 -1
- package/{block → src/block}/noscript/noscript.ts +144 -1
- package/{block → src/block}/object/object.ts +144 -1
- package/{block → src/block}/ol/ol.ts +144 -1
- package/{block → src/block}/optgroup/optgroup.ts +144 -1
- package/{block → src/block}/option/option.ts +144 -1
- package/src/block/p/p.ts +649 -0
- package/src/block/picture/picture.ts +649 -0
- package/src/block/pre/pre.ts +649 -0
- package/{block → src/block}/section/section.ts +144 -1
- package/{block → src/block}/summary/summary.ts +107 -1
- package/{block → src/block}/table/table.ts +144 -1
- package/src/block/tbody/tbody.ts +649 -0
- package/{block → src/block}/td/td.ts +144 -1
- package/src/block/template/template.ts +649 -0
- package/src/block/tfoot/tfoot.ts +649 -0
- package/{block → src/block}/th/th.ts +144 -1
- package/src/block/thead/thead.ts +649 -0
- package/{block → src/block}/tr/tr.ts +144 -1
- package/{block → src/block}/ul/ul.ts +144 -1
- package/{block → src/block}/video/video.ts +144 -1
- package/{inline → src/inline}/a/a.ts +144 -1
- package/src/inline/abbr/abbr.ts +633 -0
- package/src/inline/address/address.ts +617 -0
- package/src/inline/b/b.ts +649 -0
- package/src/inline/bdi/bdi.ts +633 -0
- package/src/inline/bdo/bdo.ts +649 -0
- package/{inline → src/inline}/button/button.ts +145 -2
- package/src/inline/cite/cite.ts +649 -0
- package/src/inline/code/code.ts +649 -0
- package/src/inline/data/data.ts +665 -0
- package/src/inline/dfn/dfn.ts +649 -0
- package/src/inline/em/em.ts +649 -0
- package/src/inline/i/i.ts +649 -0
- package/{inline → src/inline}/img/img.ts +112 -1
- package/{inline → src/inline}/input/input.ts +145 -2
- package/src/inline/kbd/kbd.ts +649 -0
- package/{inline → src/inline}/label/label.ts +144 -1
- package/src/inline/mark/mark.ts +649 -0
- package/{inline → src/inline}/meter/meter.ts +144 -1
- package/{inline → src/inline}/output/output.ts +144 -1
- package/{inline → src/inline}/progress/progress.ts +144 -1
- package/src/inline/q/q.ts +665 -0
- package/src/inline/rp/rp.ts +649 -0
- package/src/inline/rt/rt.ts +649 -0
- package/src/inline/ruby/ruby.ts +649 -0
- package/src/inline/s/s.ts +649 -0
- package/src/inline/samp/samp.ts +649 -0
- package/{inline → src/inline}/select/select.ts +144 -1
- package/src/inline/slot/slot.ts +665 -0
- package/src/inline/small/small.ts +649 -0
- package/src/inline/span/span.ts +649 -0
- package/src/inline/strong/strong.ts +649 -0
- package/src/inline/sub/sub.ts +649 -0
- package/src/inline/sup/sup.ts +649 -0
- package/{inline → src/inline}/svg/svg.ts +144 -1
- package/{inline → src/inline}/textarea/textarea.ts +144 -1
- package/src/inline/time/time.ts +665 -0
- package/src/inline/u/u.ts +649 -0
- package/src/inline/var/var.ts +649 -0
- package/{void → src/void}/area/area.ts +144 -1
- package/{void → src/void}/base/base.ts +1 -1
- package/src/void/br/br.ts +172 -0
- package/src/void/col/col.ts +172 -0
- package/{void → src/void}/head/head.ts +1 -1
- package/{void → src/void}/link/link.ts +59 -1
- package/{void → src/void}/meta/meta.ts +59 -1
- package/src/void/param/param.ts +188 -0
- package/{void → src/void}/script/script.ts +59 -1
- package/src/void/source/source.ts +220 -0
- package/{void → src/void}/style/style.ts +59 -1
- package/{void → src/void}/title/title.ts +1 -1
- package/{void → src/void}/track/track.ts +96 -1
- package/src/void/wbr/wbr.ts +156 -0
- package/block/article/article.ts +0 -506
- package/block/blockquote/blockquote.ts +0 -522
- package/block/caption/caption.ts +0 -506
- package/block/datalist/datalist.ts +0 -506
- package/block/dd/dd.ts +0 -506
- package/block/dl/dl.ts +0 -506
- package/block/dt/dt.ts +0 -506
- package/block/figcaption/figcaption.ts +0 -506
- package/block/figure/figure.ts +0 -506
- package/block/footer/footer.ts +0 -522
- package/block/h1/h1.ts +0 -490
- package/block/h2/h2.ts +0 -490
- package/block/h3/h3.ts +0 -490
- package/block/h4/h4.ts +0 -490
- package/block/h5/h5.ts +0 -490
- package/block/h6/h6.ts +0 -490
- package/block/hgroup/hgroup.ts +0 -506
- package/block/legend/legend.ts +0 -506
- package/block/main/main.ts +0 -538
- package/block/map/map.ts +0 -522
- package/block/p/p.ts +0 -506
- package/block/picture/picture.ts +0 -506
- package/block/pre/pre.ts +0 -506
- package/block/tbody/tbody.ts +0 -506
- package/block/template/template.ts +0 -506
- package/block/tfoot/tfoot.ts +0 -506
- package/block/thead/thead.ts +0 -506
- package/inline/abbr/abbr.ts +0 -490
- package/inline/address/address.ts +0 -474
- package/inline/b/b.ts +0 -506
- package/inline/bdi/bdi.ts +0 -490
- package/inline/bdo/bdo.ts +0 -506
- package/inline/cite/cite.ts +0 -506
- package/inline/code/code.ts +0 -506
- package/inline/data/data.ts +0 -522
- package/inline/dfn/dfn.ts +0 -506
- package/inline/em/em.ts +0 -506
- package/inline/i/i.ts +0 -506
- package/inline/kbd/kbd.ts +0 -506
- package/inline/mark/mark.ts +0 -506
- package/inline/q/q.ts +0 -522
- package/inline/rp/rp.ts +0 -506
- package/inline/rt/rt.ts +0 -506
- package/inline/ruby/ruby.ts +0 -506
- package/inline/s/s.ts +0 -506
- package/inline/samp/samp.ts +0 -506
- package/inline/slot/slot.ts +0 -522
- package/inline/small/small.ts +0 -506
- package/inline/span/span.ts +0 -506
- package/inline/strong/strong.ts +0 -506
- package/inline/sub/sub.ts +0 -506
- package/inline/sup/sup.ts +0 -506
- package/inline/time/time.ts +0 -522
- package/inline/u/u.ts +0 -506
- package/inline/var/var.ts +0 -506
- package/void/br/br.ts +0 -77
- package/void/col/col.ts +0 -77
- package/void/param/param.ts +0 -93
- package/void/source/source.ts +0 -125
- package/void/wbr/wbr.ts +0 -61
- /package/{index.ts → src/index.ts} +0 -0
- /package/{tsconfig.json → src/tsconfig.json} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.
|
|
3
3
|
*
|
|
4
|
-
* @generated
|
|
4
|
+
* @generated January 2, 2026 15:45:45
|
|
5
5
|
* @component Video
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface VideoProps {
|
|
|
11
11
|
* Child content or elements
|
|
12
12
|
*/
|
|
13
13
|
children?: string | HTMLElement | (string | HTMLElement)[];
|
|
14
|
+
/**
|
|
15
|
+
* Keyboard shortcut to activate or focus the element
|
|
16
|
+
*/
|
|
17
|
+
accessKey?: string;
|
|
14
18
|
/**
|
|
15
19
|
* specifies a shortcut key (or keys) to activate or focus an element
|
|
16
20
|
*/
|
|
17
21
|
accesskey?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: "do()"} or {"x-on:click":"do()"})
|
|
24
|
+
*/
|
|
25
|
+
'alpine-attributes'?: Record<string, string> | null | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Indicates whether assistive technologies should present the entire region as a whole when changes occur.
|
|
20
28
|
*/
|
|
@@ -71,6 +79,14 @@ export interface VideoProps {
|
|
|
71
79
|
* When present, it specifies that the audio or video will automatically start playing as soon as it can do so without stopping.
|
|
72
80
|
*/
|
|
73
81
|
autoplay?: boolean | null | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* CSS class names
|
|
84
|
+
*/
|
|
85
|
+
className?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Whether the element is editable
|
|
88
|
+
*/
|
|
89
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
74
90
|
/**
|
|
75
91
|
* Indicates whether the element can be edited in place
|
|
76
92
|
*/
|
|
@@ -83,6 +99,10 @@ export interface VideoProps {
|
|
|
83
99
|
*
|
|
84
100
|
*/
|
|
85
101
|
crossorigin?: 'anonymous' | 'use-credentials' | null | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
104
|
+
*/
|
|
105
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
86
106
|
/**
|
|
87
107
|
* Represents the text direction of the element
|
|
88
108
|
*/
|
|
@@ -99,6 +119,10 @@ export interface VideoProps {
|
|
|
99
119
|
* Indicates whether the element is hidden
|
|
100
120
|
*/
|
|
101
121
|
hidden?: boolean | null | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Unique identifier
|
|
124
|
+
*/
|
|
125
|
+
id?: string;
|
|
102
126
|
/**
|
|
103
127
|
* used to specify the data entry mode for an input. It helps guide on-screen keyboards (especially on mobile devices) to show the appropriate layout for the expected input type
|
|
104
128
|
*/
|
|
@@ -147,6 +171,10 @@ export interface VideoProps {
|
|
|
147
171
|
* Represents the CSS inline style of the element
|
|
148
172
|
*/
|
|
149
173
|
style?: string | null | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* Tab order position
|
|
176
|
+
*/
|
|
177
|
+
tabIndex?: number;
|
|
150
178
|
/**
|
|
151
179
|
* Represents a tab order of the element
|
|
152
180
|
*/
|
|
@@ -180,9 +208,26 @@ export class Video {
|
|
|
180
208
|
if (props.children !== undefined) {
|
|
181
209
|
this.setChildren(props.children);
|
|
182
210
|
}
|
|
211
|
+
if (props.accessKey !== undefined) {
|
|
212
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
213
|
+
}
|
|
183
214
|
if (props.accesskey !== undefined) {
|
|
184
215
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
185
216
|
}
|
|
217
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
218
|
+
const __map = props['alpine-attributes'];
|
|
219
|
+
if (__map !== null && __map !== undefined) {
|
|
220
|
+
for (const __k in __map) {
|
|
221
|
+
const __v = (__map as any)[__k];
|
|
222
|
+
let __attr = __k;
|
|
223
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
224
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
225
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
226
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
227
|
+
this.element.setAttribute(__attr, String(__v));
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
186
231
|
if (props['aria-atomic'] !== undefined) {
|
|
187
232
|
this.setAriaAtomic(props['aria-atomic']);
|
|
188
233
|
}
|
|
@@ -225,6 +270,12 @@ export class Video {
|
|
|
225
270
|
if (props.autoplay !== undefined) {
|
|
226
271
|
this.element.setAttribute('autoplay', String(props.autoplay));
|
|
227
272
|
}
|
|
273
|
+
if (props.className !== undefined) {
|
|
274
|
+
this.element.setAttribute('className', String(props.className));
|
|
275
|
+
}
|
|
276
|
+
if (props.contentEditable !== undefined) {
|
|
277
|
+
this.element.setAttribute('contentEditable', String(props.contentEditable));
|
|
278
|
+
}
|
|
228
279
|
if (props.contenteditable !== undefined) {
|
|
229
280
|
this.setContenteditable(props.contenteditable);
|
|
230
281
|
}
|
|
@@ -234,6 +285,14 @@ export class Video {
|
|
|
234
285
|
if (props.crossorigin !== undefined) {
|
|
235
286
|
this.setCrossorigin(props.crossorigin);
|
|
236
287
|
}
|
|
288
|
+
if (props['data-attributes'] !== undefined) {
|
|
289
|
+
const __map = props['data-attributes'];
|
|
290
|
+
if (__map !== null && __map !== undefined) {
|
|
291
|
+
for (const __k in __map) {
|
|
292
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
237
296
|
if (props.dir !== undefined) {
|
|
238
297
|
this.setDir(props.dir);
|
|
239
298
|
}
|
|
@@ -246,6 +305,9 @@ export class Video {
|
|
|
246
305
|
if (props.hidden !== undefined) {
|
|
247
306
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
248
307
|
}
|
|
308
|
+
if (props.id !== undefined) {
|
|
309
|
+
this.element.setAttribute('id', String(props.id));
|
|
310
|
+
}
|
|
249
311
|
if (props.inputmode !== undefined) {
|
|
250
312
|
this.setInputmode(props.inputmode);
|
|
251
313
|
}
|
|
@@ -282,6 +344,9 @@ export class Video {
|
|
|
282
344
|
if (props.style !== undefined) {
|
|
283
345
|
this.element.setAttribute('style', String(props.style));
|
|
284
346
|
}
|
|
347
|
+
if (props.tabIndex !== undefined) {
|
|
348
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
349
|
+
}
|
|
285
350
|
if (props.tabindex !== undefined) {
|
|
286
351
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
287
352
|
}
|
|
@@ -296,6 +361,15 @@ export class Video {
|
|
|
296
361
|
}
|
|
297
362
|
}
|
|
298
363
|
|
|
364
|
+
setAccessKey(value: string): this {
|
|
365
|
+
if (value === null || value === undefined) {
|
|
366
|
+
this.element.removeAttribute('accessKey');
|
|
367
|
+
} else {
|
|
368
|
+
this.element.setAttribute('accessKey', String(value));
|
|
369
|
+
}
|
|
370
|
+
return this;
|
|
371
|
+
}
|
|
372
|
+
|
|
299
373
|
setAccesskey(value: string | null | undefined): this {
|
|
300
374
|
if (value === null || value === undefined) {
|
|
301
375
|
this.element.removeAttribute('accesskey');
|
|
@@ -305,6 +379,25 @@ export class Video {
|
|
|
305
379
|
return this;
|
|
306
380
|
}
|
|
307
381
|
|
|
382
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
383
|
+
if (value === null || value === undefined) {
|
|
384
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
385
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
386
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
387
|
+
}
|
|
388
|
+
} else {
|
|
389
|
+
for (const __k in value as Record<string, string>) {
|
|
390
|
+
let __attr = __k;
|
|
391
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
392
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
393
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
394
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
395
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
return this;
|
|
399
|
+
}
|
|
400
|
+
|
|
308
401
|
setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {
|
|
309
402
|
if (value === null || value === undefined) {
|
|
310
403
|
this.element.removeAttribute('aria-atomic');
|
|
@@ -431,6 +524,24 @@ export class Video {
|
|
|
431
524
|
return this;
|
|
432
525
|
}
|
|
433
526
|
|
|
527
|
+
setClassName(value: string): this {
|
|
528
|
+
if (value === null || value === undefined) {
|
|
529
|
+
this.element.removeAttribute('className');
|
|
530
|
+
} else {
|
|
531
|
+
this.element.setAttribute('className', String(value));
|
|
532
|
+
}
|
|
533
|
+
return this;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
setContentEditable(value: boolean | "true" | "false" | "inherit"): this {
|
|
537
|
+
if (value === true) {
|
|
538
|
+
this.element.setAttribute('contentEditable', '');
|
|
539
|
+
} else {
|
|
540
|
+
this.element.removeAttribute('contentEditable');
|
|
541
|
+
}
|
|
542
|
+
return this;
|
|
543
|
+
}
|
|
544
|
+
|
|
434
545
|
setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {
|
|
435
546
|
if (value === null || value === undefined) {
|
|
436
547
|
this.element.removeAttribute('contenteditable');
|
|
@@ -458,6 +569,20 @@ export class Video {
|
|
|
458
569
|
return this;
|
|
459
570
|
}
|
|
460
571
|
|
|
572
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
573
|
+
if (value === null || value === undefined) {
|
|
574
|
+
// Remove all data-* attributes (best-effort)
|
|
575
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
576
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
577
|
+
}
|
|
578
|
+
} else {
|
|
579
|
+
for (const __k in value as Record<string, string>) {
|
|
580
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
return this;
|
|
584
|
+
}
|
|
585
|
+
|
|
461
586
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
462
587
|
if (value === null || value === undefined) {
|
|
463
588
|
this.element.removeAttribute('dir');
|
|
@@ -494,6 +619,15 @@ export class Video {
|
|
|
494
619
|
return this;
|
|
495
620
|
}
|
|
496
621
|
|
|
622
|
+
setId(value: string): this {
|
|
623
|
+
if (value === null || value === undefined) {
|
|
624
|
+
this.element.removeAttribute('id');
|
|
625
|
+
} else {
|
|
626
|
+
this.element.setAttribute('id', String(value));
|
|
627
|
+
}
|
|
628
|
+
return this;
|
|
629
|
+
}
|
|
630
|
+
|
|
497
631
|
setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {
|
|
498
632
|
if (value === null || value === undefined) {
|
|
499
633
|
this.element.removeAttribute('inputmode');
|
|
@@ -602,6 +736,15 @@ export class Video {
|
|
|
602
736
|
return this;
|
|
603
737
|
}
|
|
604
738
|
|
|
739
|
+
setTabIndex(value: number): this {
|
|
740
|
+
if (value === null || value === undefined) {
|
|
741
|
+
this.element.removeAttribute('tabIndex');
|
|
742
|
+
} else {
|
|
743
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
744
|
+
}
|
|
745
|
+
return this;
|
|
746
|
+
}
|
|
747
|
+
|
|
605
748
|
setTabindex(value: number | null | undefined): this {
|
|
606
749
|
if (value === null || value === undefined) {
|
|
607
750
|
this.element.removeAttribute('tabindex');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.
|
|
3
3
|
*
|
|
4
|
-
* @generated
|
|
4
|
+
* @generated January 2, 2026 15:45:45
|
|
5
5
|
* @component A
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface AProps {
|
|
|
11
11
|
* Child content or elements
|
|
12
12
|
*/
|
|
13
13
|
children?: string | HTMLElement | (string | HTMLElement)[];
|
|
14
|
+
/**
|
|
15
|
+
* Keyboard shortcut to activate or focus the element
|
|
16
|
+
*/
|
|
17
|
+
accessKey?: string;
|
|
14
18
|
/**
|
|
15
19
|
* specifies a shortcut key (or keys) to activate or focus an element
|
|
16
20
|
*/
|
|
17
21
|
accesskey?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: "do()"} or {"x-on:click":"do()"})
|
|
24
|
+
*/
|
|
25
|
+
'alpine-attributes'?: Record<string, string> | null | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Indicates whether assistive technologies should present the entire region as a whole when changes occur.
|
|
20
28
|
*/
|
|
@@ -87,10 +95,22 @@ export interface AProps {
|
|
|
87
95
|
* Indicates whether the element is hidden
|
|
88
96
|
*/
|
|
89
97
|
autofocus?: boolean | null | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* CSS class names
|
|
100
|
+
*/
|
|
101
|
+
className?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Whether the element is editable
|
|
104
|
+
*/
|
|
105
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
90
106
|
/**
|
|
91
107
|
* Indicates whether the element can be edited in place
|
|
92
108
|
*/
|
|
93
109
|
contenteditable?: 'true' | 'false' | 'inherit' | boolean | null | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
112
|
+
*/
|
|
113
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
94
114
|
/**
|
|
95
115
|
* Represents the text direction of the element
|
|
96
116
|
*/
|
|
@@ -115,6 +135,10 @@ export interface AProps {
|
|
|
115
135
|
* Specifies the language of the linked resource.
|
|
116
136
|
*/
|
|
117
137
|
hreflang?: string | null | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Unique identifier
|
|
140
|
+
*/
|
|
141
|
+
id?: string;
|
|
118
142
|
/**
|
|
119
143
|
* used to specify the data entry mode for an input. It helps guide on-screen keyboards (especially on mobile devices) to show the appropriate layout for the expected input type
|
|
120
144
|
*/
|
|
@@ -147,6 +171,10 @@ export interface AProps {
|
|
|
147
171
|
* Represents the CSS inline style of the element
|
|
148
172
|
*/
|
|
149
173
|
style?: string | null | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* Tab order position
|
|
176
|
+
*/
|
|
177
|
+
tabIndex?: number;
|
|
150
178
|
/**
|
|
151
179
|
* Represents a tab order of the element
|
|
152
180
|
*/
|
|
@@ -184,9 +212,26 @@ export class A {
|
|
|
184
212
|
if (props.children !== undefined) {
|
|
185
213
|
this.setChildren(props.children);
|
|
186
214
|
}
|
|
215
|
+
if (props.accessKey !== undefined) {
|
|
216
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
217
|
+
}
|
|
187
218
|
if (props.accesskey !== undefined) {
|
|
188
219
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
189
220
|
}
|
|
221
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
222
|
+
const __map = props['alpine-attributes'];
|
|
223
|
+
if (__map !== null && __map !== undefined) {
|
|
224
|
+
for (const __k in __map) {
|
|
225
|
+
const __v = (__map as any)[__k];
|
|
226
|
+
let __attr = __k;
|
|
227
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
228
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
229
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
230
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
231
|
+
this.element.setAttribute(__attr, String(__v));
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
190
235
|
if (props['aria-atomic'] !== undefined) {
|
|
191
236
|
this.setAriaAtomic(props['aria-atomic']);
|
|
192
237
|
}
|
|
@@ -241,9 +286,23 @@ export class A {
|
|
|
241
286
|
if (props.autofocus !== undefined) {
|
|
242
287
|
this.element.setAttribute('autofocus', String(props.autofocus));
|
|
243
288
|
}
|
|
289
|
+
if (props.className !== undefined) {
|
|
290
|
+
this.element.setAttribute('className', String(props.className));
|
|
291
|
+
}
|
|
292
|
+
if (props.contentEditable !== undefined) {
|
|
293
|
+
this.element.setAttribute('contentEditable', String(props.contentEditable));
|
|
294
|
+
}
|
|
244
295
|
if (props.contenteditable !== undefined) {
|
|
245
296
|
this.setContenteditable(props.contenteditable);
|
|
246
297
|
}
|
|
298
|
+
if (props['data-attributes'] !== undefined) {
|
|
299
|
+
const __map = props['data-attributes'];
|
|
300
|
+
if (__map !== null && __map !== undefined) {
|
|
301
|
+
for (const __k in __map) {
|
|
302
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
247
306
|
if (props.dir !== undefined) {
|
|
248
307
|
this.setDir(props.dir);
|
|
249
308
|
}
|
|
@@ -262,6 +321,9 @@ export class A {
|
|
|
262
321
|
if (props.hreflang !== undefined) {
|
|
263
322
|
this.element.setAttribute('hreflang', String(props.hreflang));
|
|
264
323
|
}
|
|
324
|
+
if (props.id !== undefined) {
|
|
325
|
+
this.element.setAttribute('id', String(props.id));
|
|
326
|
+
}
|
|
265
327
|
if (props.inputmode !== undefined) {
|
|
266
328
|
this.setInputmode(props.inputmode);
|
|
267
329
|
}
|
|
@@ -286,6 +348,9 @@ export class A {
|
|
|
286
348
|
if (props.style !== undefined) {
|
|
287
349
|
this.element.setAttribute('style', String(props.style));
|
|
288
350
|
}
|
|
351
|
+
if (props.tabIndex !== undefined) {
|
|
352
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
353
|
+
}
|
|
289
354
|
if (props.tabindex !== undefined) {
|
|
290
355
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
291
356
|
}
|
|
@@ -303,6 +368,15 @@ export class A {
|
|
|
303
368
|
}
|
|
304
369
|
}
|
|
305
370
|
|
|
371
|
+
setAccessKey(value: string): this {
|
|
372
|
+
if (value === null || value === undefined) {
|
|
373
|
+
this.element.removeAttribute('accessKey');
|
|
374
|
+
} else {
|
|
375
|
+
this.element.setAttribute('accessKey', String(value));
|
|
376
|
+
}
|
|
377
|
+
return this;
|
|
378
|
+
}
|
|
379
|
+
|
|
306
380
|
setAccesskey(value: string | null | undefined): this {
|
|
307
381
|
if (value === null || value === undefined) {
|
|
308
382
|
this.element.removeAttribute('accesskey');
|
|
@@ -312,6 +386,25 @@ export class A {
|
|
|
312
386
|
return this;
|
|
313
387
|
}
|
|
314
388
|
|
|
389
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
390
|
+
if (value === null || value === undefined) {
|
|
391
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
392
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
393
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
394
|
+
}
|
|
395
|
+
} else {
|
|
396
|
+
for (const __k in value as Record<string, string>) {
|
|
397
|
+
let __attr = __k;
|
|
398
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
399
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
400
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
401
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
402
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
return this;
|
|
406
|
+
}
|
|
407
|
+
|
|
315
408
|
setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {
|
|
316
409
|
if (value === null || value === undefined) {
|
|
317
410
|
this.element.removeAttribute('aria-atomic');
|
|
@@ -474,6 +567,24 @@ export class A {
|
|
|
474
567
|
return this;
|
|
475
568
|
}
|
|
476
569
|
|
|
570
|
+
setClassName(value: string): this {
|
|
571
|
+
if (value === null || value === undefined) {
|
|
572
|
+
this.element.removeAttribute('className');
|
|
573
|
+
} else {
|
|
574
|
+
this.element.setAttribute('className', String(value));
|
|
575
|
+
}
|
|
576
|
+
return this;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
setContentEditable(value: boolean | "true" | "false" | "inherit"): this {
|
|
580
|
+
if (value === true) {
|
|
581
|
+
this.element.setAttribute('contentEditable', '');
|
|
582
|
+
} else {
|
|
583
|
+
this.element.removeAttribute('contentEditable');
|
|
584
|
+
}
|
|
585
|
+
return this;
|
|
586
|
+
}
|
|
587
|
+
|
|
477
588
|
setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {
|
|
478
589
|
if (value === null || value === undefined) {
|
|
479
590
|
this.element.removeAttribute('contenteditable');
|
|
@@ -483,6 +594,20 @@ export class A {
|
|
|
483
594
|
return this;
|
|
484
595
|
}
|
|
485
596
|
|
|
597
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
598
|
+
if (value === null || value === undefined) {
|
|
599
|
+
// Remove all data-* attributes (best-effort)
|
|
600
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
601
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
602
|
+
}
|
|
603
|
+
} else {
|
|
604
|
+
for (const __k in value as Record<string, string>) {
|
|
605
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
return this;
|
|
609
|
+
}
|
|
610
|
+
|
|
486
611
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
487
612
|
if (value === null || value === undefined) {
|
|
488
613
|
this.element.removeAttribute('dir');
|
|
@@ -537,6 +662,15 @@ export class A {
|
|
|
537
662
|
return this;
|
|
538
663
|
}
|
|
539
664
|
|
|
665
|
+
setId(value: string): this {
|
|
666
|
+
if (value === null || value === undefined) {
|
|
667
|
+
this.element.removeAttribute('id');
|
|
668
|
+
} else {
|
|
669
|
+
this.element.setAttribute('id', String(value));
|
|
670
|
+
}
|
|
671
|
+
return this;
|
|
672
|
+
}
|
|
673
|
+
|
|
540
674
|
setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {
|
|
541
675
|
if (value === null || value === undefined) {
|
|
542
676
|
this.element.removeAttribute('inputmode');
|
|
@@ -609,6 +743,15 @@ export class A {
|
|
|
609
743
|
return this;
|
|
610
744
|
}
|
|
611
745
|
|
|
746
|
+
setTabIndex(value: number): this {
|
|
747
|
+
if (value === null || value === undefined) {
|
|
748
|
+
this.element.removeAttribute('tabIndex');
|
|
749
|
+
} else {
|
|
750
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
751
|
+
}
|
|
752
|
+
return this;
|
|
753
|
+
}
|
|
754
|
+
|
|
612
755
|
setTabindex(value: number | null | undefined): this {
|
|
613
756
|
if (value === null || value === undefined) {
|
|
614
757
|
this.element.removeAttribute('tabindex');
|