@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 Aside
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface AsideProps {
|
|
|
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,10 +79,22 @@ export interface AsideProps {
|
|
|
71
79
|
* Indicates whether the element is hidden
|
|
72
80
|
*/
|
|
73
81
|
autofocus?: 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
|
*/
|
|
77
93
|
contenteditable?: 'true' | 'false' | 'inherit' | boolean | null | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
96
|
+
*/
|
|
97
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
78
98
|
/**
|
|
79
99
|
* Represents the text direction of the element
|
|
80
100
|
*/
|
|
@@ -87,6 +107,10 @@ export interface AsideProps {
|
|
|
87
107
|
* Indicates whether the element is hidden
|
|
88
108
|
*/
|
|
89
109
|
hidden?: boolean | null | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Unique identifier
|
|
112
|
+
*/
|
|
113
|
+
id?: string;
|
|
90
114
|
/**
|
|
91
115
|
* 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
|
|
92
116
|
*/
|
|
@@ -115,6 +139,10 @@ export interface AsideProps {
|
|
|
115
139
|
* Represents the CSS inline style of the element
|
|
116
140
|
*/
|
|
117
141
|
style?: string | null | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Tab order position
|
|
144
|
+
*/
|
|
145
|
+
tabIndex?: number;
|
|
118
146
|
/**
|
|
119
147
|
* Represents a tab order of the element
|
|
120
148
|
*/
|
|
@@ -144,9 +172,26 @@ export class Aside {
|
|
|
144
172
|
if (props.children !== undefined) {
|
|
145
173
|
this.setChildren(props.children);
|
|
146
174
|
}
|
|
175
|
+
if (props.accessKey !== undefined) {
|
|
176
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
177
|
+
}
|
|
147
178
|
if (props.accesskey !== undefined) {
|
|
148
179
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
149
180
|
}
|
|
181
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
182
|
+
const __map = props['alpine-attributes'];
|
|
183
|
+
if (__map !== null && __map !== undefined) {
|
|
184
|
+
for (const __k in __map) {
|
|
185
|
+
const __v = (__map as any)[__k];
|
|
186
|
+
let __attr = __k;
|
|
187
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
188
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
189
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
190
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
191
|
+
this.element.setAttribute(__attr, String(__v));
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
150
195
|
if (props['aria-atomic'] !== undefined) {
|
|
151
196
|
this.setAriaAtomic(props['aria-atomic']);
|
|
152
197
|
}
|
|
@@ -189,9 +234,23 @@ export class Aside {
|
|
|
189
234
|
if (props.autofocus !== undefined) {
|
|
190
235
|
this.element.setAttribute('autofocus', String(props.autofocus));
|
|
191
236
|
}
|
|
237
|
+
if (props.className !== undefined) {
|
|
238
|
+
this.element.setAttribute('className', String(props.className));
|
|
239
|
+
}
|
|
240
|
+
if (props.contentEditable !== undefined) {
|
|
241
|
+
this.element.setAttribute('contentEditable', String(props.contentEditable));
|
|
242
|
+
}
|
|
192
243
|
if (props.contenteditable !== undefined) {
|
|
193
244
|
this.setContenteditable(props.contenteditable);
|
|
194
245
|
}
|
|
246
|
+
if (props['data-attributes'] !== undefined) {
|
|
247
|
+
const __map = props['data-attributes'];
|
|
248
|
+
if (__map !== null && __map !== undefined) {
|
|
249
|
+
for (const __k in __map) {
|
|
250
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
195
254
|
if (props.dir !== undefined) {
|
|
196
255
|
this.setDir(props.dir);
|
|
197
256
|
}
|
|
@@ -201,6 +260,9 @@ export class Aside {
|
|
|
201
260
|
if (props.hidden !== undefined) {
|
|
202
261
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
203
262
|
}
|
|
263
|
+
if (props.id !== undefined) {
|
|
264
|
+
this.element.setAttribute('id', String(props.id));
|
|
265
|
+
}
|
|
204
266
|
if (props.inputmode !== undefined) {
|
|
205
267
|
this.setInputmode(props.inputmode);
|
|
206
268
|
}
|
|
@@ -222,6 +284,9 @@ export class Aside {
|
|
|
222
284
|
if (props.style !== undefined) {
|
|
223
285
|
this.element.setAttribute('style', String(props.style));
|
|
224
286
|
}
|
|
287
|
+
if (props.tabIndex !== undefined) {
|
|
288
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
289
|
+
}
|
|
225
290
|
if (props.tabindex !== undefined) {
|
|
226
291
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
227
292
|
}
|
|
@@ -233,6 +298,15 @@ export class Aside {
|
|
|
233
298
|
}
|
|
234
299
|
}
|
|
235
300
|
|
|
301
|
+
setAccessKey(value: string): this {
|
|
302
|
+
if (value === null || value === undefined) {
|
|
303
|
+
this.element.removeAttribute('accessKey');
|
|
304
|
+
} else {
|
|
305
|
+
this.element.setAttribute('accessKey', String(value));
|
|
306
|
+
}
|
|
307
|
+
return this;
|
|
308
|
+
}
|
|
309
|
+
|
|
236
310
|
setAccesskey(value: string | null | undefined): this {
|
|
237
311
|
if (value === null || value === undefined) {
|
|
238
312
|
this.element.removeAttribute('accesskey');
|
|
@@ -242,6 +316,25 @@ export class Aside {
|
|
|
242
316
|
return this;
|
|
243
317
|
}
|
|
244
318
|
|
|
319
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
320
|
+
if (value === null || value === undefined) {
|
|
321
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
322
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
323
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
324
|
+
}
|
|
325
|
+
} else {
|
|
326
|
+
for (const __k in value as Record<string, string>) {
|
|
327
|
+
let __attr = __k;
|
|
328
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
329
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
330
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
331
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
332
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
return this;
|
|
336
|
+
}
|
|
337
|
+
|
|
245
338
|
setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {
|
|
246
339
|
if (value === null || value === undefined) {
|
|
247
340
|
this.element.removeAttribute('aria-atomic');
|
|
@@ -368,6 +461,24 @@ export class Aside {
|
|
|
368
461
|
return this;
|
|
369
462
|
}
|
|
370
463
|
|
|
464
|
+
setClassName(value: string): this {
|
|
465
|
+
if (value === null || value === undefined) {
|
|
466
|
+
this.element.removeAttribute('className');
|
|
467
|
+
} else {
|
|
468
|
+
this.element.setAttribute('className', String(value));
|
|
469
|
+
}
|
|
470
|
+
return this;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
setContentEditable(value: boolean | "true" | "false" | "inherit"): this {
|
|
474
|
+
if (value === true) {
|
|
475
|
+
this.element.setAttribute('contentEditable', '');
|
|
476
|
+
} else {
|
|
477
|
+
this.element.removeAttribute('contentEditable');
|
|
478
|
+
}
|
|
479
|
+
return this;
|
|
480
|
+
}
|
|
481
|
+
|
|
371
482
|
setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {
|
|
372
483
|
if (value === null || value === undefined) {
|
|
373
484
|
this.element.removeAttribute('contenteditable');
|
|
@@ -377,6 +488,20 @@ export class Aside {
|
|
|
377
488
|
return this;
|
|
378
489
|
}
|
|
379
490
|
|
|
491
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
492
|
+
if (value === null || value === undefined) {
|
|
493
|
+
// Remove all data-* attributes (best-effort)
|
|
494
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
495
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
496
|
+
}
|
|
497
|
+
} else {
|
|
498
|
+
for (const __k in value as Record<string, string>) {
|
|
499
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
return this;
|
|
503
|
+
}
|
|
504
|
+
|
|
380
505
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
381
506
|
if (value === null || value === undefined) {
|
|
382
507
|
this.element.removeAttribute('dir');
|
|
@@ -404,6 +529,15 @@ export class Aside {
|
|
|
404
529
|
return this;
|
|
405
530
|
}
|
|
406
531
|
|
|
532
|
+
setId(value: string): this {
|
|
533
|
+
if (value === null || value === undefined) {
|
|
534
|
+
this.element.removeAttribute('id');
|
|
535
|
+
} else {
|
|
536
|
+
this.element.setAttribute('id', String(value));
|
|
537
|
+
}
|
|
538
|
+
return this;
|
|
539
|
+
}
|
|
540
|
+
|
|
407
541
|
setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {
|
|
408
542
|
if (value === null || value === undefined) {
|
|
409
543
|
this.element.removeAttribute('inputmode');
|
|
@@ -467,6 +601,15 @@ export class Aside {
|
|
|
467
601
|
return this;
|
|
468
602
|
}
|
|
469
603
|
|
|
604
|
+
setTabIndex(value: number): this {
|
|
605
|
+
if (value === null || value === undefined) {
|
|
606
|
+
this.element.removeAttribute('tabIndex');
|
|
607
|
+
} else {
|
|
608
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
609
|
+
}
|
|
610
|
+
return this;
|
|
611
|
+
}
|
|
612
|
+
|
|
470
613
|
setTabindex(value: number | null | undefined): this {
|
|
471
614
|
if (value === null || value === undefined) {
|
|
472
615
|
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 Audio
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface AudioProps {
|
|
|
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
|
*/
|
|
@@ -59,6 +67,10 @@ export interface AudioProps {
|
|
|
59
67
|
* When present, it specifies that the audio or video will automatically start playing as soon as it can do so without stopping.
|
|
60
68
|
*/
|
|
61
69
|
autoplay?: boolean | null | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* CSS class names
|
|
72
|
+
*/
|
|
73
|
+
className?: string;
|
|
62
74
|
/**
|
|
63
75
|
* When present, it specifies that audio or video controls should be displayed (such as play, pause, and volume).
|
|
64
76
|
*/
|
|
@@ -67,6 +79,10 @@ export interface AudioProps {
|
|
|
67
79
|
* Specifies how the element handles cross-origin requests.
|
|
68
80
|
*/
|
|
69
81
|
crossorigin?: 'anonymous' | 'use-credentials' | null | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
84
|
+
*/
|
|
85
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
70
86
|
/**
|
|
71
87
|
* Indicates whether the element is draggable
|
|
72
88
|
*/
|
|
@@ -75,6 +91,10 @@ export interface AudioProps {
|
|
|
75
91
|
* Indicates whether the element is hidden
|
|
76
92
|
*/
|
|
77
93
|
hidden?: boolean | null | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Unique identifier
|
|
96
|
+
*/
|
|
97
|
+
id?: string;
|
|
78
98
|
/**
|
|
79
99
|
* Specifies the primary language for the element's content
|
|
80
100
|
*/
|
|
@@ -111,6 +131,10 @@ export interface AudioProps {
|
|
|
111
131
|
* Represents the CSS inline style of the element
|
|
112
132
|
*/
|
|
113
133
|
style?: string | null | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* Tab order position
|
|
136
|
+
*/
|
|
137
|
+
tabIndex?: number;
|
|
114
138
|
/**
|
|
115
139
|
* Represents a tab order of the element
|
|
116
140
|
*/
|
|
@@ -140,9 +164,26 @@ export class Audio {
|
|
|
140
164
|
if (props.children !== undefined) {
|
|
141
165
|
this.setChildren(props.children);
|
|
142
166
|
}
|
|
167
|
+
if (props.accessKey !== undefined) {
|
|
168
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
169
|
+
}
|
|
143
170
|
if (props.accesskey !== undefined) {
|
|
144
171
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
145
172
|
}
|
|
173
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
174
|
+
const __map = props['alpine-attributes'];
|
|
175
|
+
if (__map !== null && __map !== undefined) {
|
|
176
|
+
for (const __k in __map) {
|
|
177
|
+
const __v = (__map as any)[__k];
|
|
178
|
+
let __attr = __k;
|
|
179
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
180
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
181
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
182
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
183
|
+
this.element.setAttribute(__attr, String(__v));
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
146
187
|
if (props['aria-atomic'] !== undefined) {
|
|
147
188
|
this.setAriaAtomic(props['aria-atomic']);
|
|
148
189
|
}
|
|
@@ -176,18 +217,32 @@ export class Audio {
|
|
|
176
217
|
if (props.autoplay !== undefined) {
|
|
177
218
|
this.element.setAttribute('autoplay', String(props.autoplay));
|
|
178
219
|
}
|
|
220
|
+
if (props.className !== undefined) {
|
|
221
|
+
this.element.setAttribute('className', String(props.className));
|
|
222
|
+
}
|
|
179
223
|
if (props.controls !== undefined) {
|
|
180
224
|
this.element.setAttribute('controls', String(props.controls));
|
|
181
225
|
}
|
|
182
226
|
if (props.crossorigin !== undefined) {
|
|
183
227
|
this.setCrossorigin(props.crossorigin);
|
|
184
228
|
}
|
|
229
|
+
if (props['data-attributes'] !== undefined) {
|
|
230
|
+
const __map = props['data-attributes'];
|
|
231
|
+
if (__map !== null && __map !== undefined) {
|
|
232
|
+
for (const __k in __map) {
|
|
233
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
185
237
|
if (props.draggable !== undefined) {
|
|
186
238
|
this.element.setAttribute('draggable', String(props.draggable));
|
|
187
239
|
}
|
|
188
240
|
if (props.hidden !== undefined) {
|
|
189
241
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
190
242
|
}
|
|
243
|
+
if (props.id !== undefined) {
|
|
244
|
+
this.element.setAttribute('id', String(props.id));
|
|
245
|
+
}
|
|
191
246
|
if (props.lang !== undefined) {
|
|
192
247
|
this.element.setAttribute('lang', String(props.lang));
|
|
193
248
|
}
|
|
@@ -215,6 +270,9 @@ export class Audio {
|
|
|
215
270
|
if (props.style !== undefined) {
|
|
216
271
|
this.element.setAttribute('style', String(props.style));
|
|
217
272
|
}
|
|
273
|
+
if (props.tabIndex !== undefined) {
|
|
274
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
275
|
+
}
|
|
218
276
|
if (props.tabindex !== undefined) {
|
|
219
277
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
220
278
|
}
|
|
@@ -226,6 +284,15 @@ export class Audio {
|
|
|
226
284
|
}
|
|
227
285
|
}
|
|
228
286
|
|
|
287
|
+
setAccessKey(value: string): this {
|
|
288
|
+
if (value === null || value === undefined) {
|
|
289
|
+
this.element.removeAttribute('accessKey');
|
|
290
|
+
} else {
|
|
291
|
+
this.element.setAttribute('accessKey', String(value));
|
|
292
|
+
}
|
|
293
|
+
return this;
|
|
294
|
+
}
|
|
295
|
+
|
|
229
296
|
setAccesskey(value: string | null | undefined): this {
|
|
230
297
|
if (value === null || value === undefined) {
|
|
231
298
|
this.element.removeAttribute('accesskey');
|
|
@@ -235,6 +302,25 @@ export class Audio {
|
|
|
235
302
|
return this;
|
|
236
303
|
}
|
|
237
304
|
|
|
305
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
306
|
+
if (value === null || value === undefined) {
|
|
307
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
308
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
309
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
310
|
+
}
|
|
311
|
+
} else {
|
|
312
|
+
for (const __k in value as Record<string, string>) {
|
|
313
|
+
let __attr = __k;
|
|
314
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
315
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
316
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
317
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
318
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
return this;
|
|
322
|
+
}
|
|
323
|
+
|
|
238
324
|
setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {
|
|
239
325
|
if (value === null || value === undefined) {
|
|
240
326
|
this.element.removeAttribute('aria-atomic');
|
|
@@ -334,6 +420,15 @@ export class Audio {
|
|
|
334
420
|
return this;
|
|
335
421
|
}
|
|
336
422
|
|
|
423
|
+
setClassName(value: string): this {
|
|
424
|
+
if (value === null || value === undefined) {
|
|
425
|
+
this.element.removeAttribute('className');
|
|
426
|
+
} else {
|
|
427
|
+
this.element.setAttribute('className', String(value));
|
|
428
|
+
}
|
|
429
|
+
return this;
|
|
430
|
+
}
|
|
431
|
+
|
|
337
432
|
setControls(value: boolean | null | undefined): this {
|
|
338
433
|
if (value === true) {
|
|
339
434
|
this.element.setAttribute('controls', '');
|
|
@@ -352,6 +447,20 @@ export class Audio {
|
|
|
352
447
|
return this;
|
|
353
448
|
}
|
|
354
449
|
|
|
450
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
451
|
+
if (value === null || value === undefined) {
|
|
452
|
+
// Remove all data-* attributes (best-effort)
|
|
453
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
454
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
455
|
+
}
|
|
456
|
+
} else {
|
|
457
|
+
for (const __k in value as Record<string, string>) {
|
|
458
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
return this;
|
|
462
|
+
}
|
|
463
|
+
|
|
355
464
|
setDraggable(value: boolean | null | undefined): this {
|
|
356
465
|
if (value === true) {
|
|
357
466
|
this.element.setAttribute('draggable', '');
|
|
@@ -370,6 +479,15 @@ export class Audio {
|
|
|
370
479
|
return this;
|
|
371
480
|
}
|
|
372
481
|
|
|
482
|
+
setId(value: string): this {
|
|
483
|
+
if (value === null || value === undefined) {
|
|
484
|
+
this.element.removeAttribute('id');
|
|
485
|
+
} else {
|
|
486
|
+
this.element.setAttribute('id', String(value));
|
|
487
|
+
}
|
|
488
|
+
return this;
|
|
489
|
+
}
|
|
490
|
+
|
|
373
491
|
setLang(value: string | null | undefined): this {
|
|
374
492
|
if (value === null || value === undefined) {
|
|
375
493
|
this.element.removeAttribute('lang');
|
|
@@ -451,6 +569,15 @@ export class Audio {
|
|
|
451
569
|
return this;
|
|
452
570
|
}
|
|
453
571
|
|
|
572
|
+
setTabIndex(value: number): this {
|
|
573
|
+
if (value === null || value === undefined) {
|
|
574
|
+
this.element.removeAttribute('tabIndex');
|
|
575
|
+
} else {
|
|
576
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
577
|
+
}
|
|
578
|
+
return this;
|
|
579
|
+
}
|
|
580
|
+
|
|
454
581
|
setTabindex(value: number | null | undefined): this {
|
|
455
582
|
if (value === null || value === undefined) {
|
|
456
583
|
this.element.removeAttribute('tabindex');
|