@nvidia-elements/core 2.19.1 → 2.20.0
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/CHANGELOG.md +6 -0
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert2.js +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundle.d.ts +2 -0
- package/dist/bundles/index.d.ts +128 -0
- package/dist/bundles/index.js +6 -6
- package/dist/button/button2.js +1 -1
- package/dist/button-group/button-group2.js +1 -1
- package/dist/card/card2.js +4 -4
- package/dist/chat-message/chat-message2.js +1 -1
- package/dist/checkbox/checkbox-group2.js +1 -1
- package/dist/checkbox/checkbox2.js +1 -1
- package/dist/color/color2.js +1 -1
- package/dist/combobox/combobox2.js +1 -1
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements-jsx.d.ts +166 -0
- package/dist/custom-elements-vue.d.ts +160 -0
- package/dist/custom-elements.json +1189 -0
- package/dist/data.html.json +117 -0
- package/dist/data.snippets.json +27 -27
- package/dist/date/date2.js +1 -1
- package/dist/datetime/datetime2.js +1 -1
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/drag-handle/drag-handle2.js +1 -1
- package/dist/drawer/drawer-content2.js +1 -1
- package/dist/drawer/drawer-footer2.js +1 -1
- package/dist/drawer/drawer-header2.js +1 -1
- package/dist/drawer/drawer2.js +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-bytes/format-bytes2.js +1 -1
- package/dist/format-datetime/format-datetime2.js +1 -1
- package/dist/format-number/format-number2.js +1 -1
- package/dist/format-relative-time/format-relative-time2.js +1 -1
- package/dist/format-truncate/format-truncate2.js +1 -1
- package/dist/forms/control/control2.js +1 -1
- package/dist/forms/control-group/control-group2.js +1 -1
- package/dist/forms/control-message/control-message2.js +1 -1
- package/dist/gauge/gauge2.js +1 -1
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column2.js +1 -1
- package/dist/grid/footer/footer2.js +1 -1
- package/dist/grid/grid2.js +1 -1
- package/dist/grid/header/header2.js +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +1 -1
- package/dist/icon/icon2.js +2 -2
- package/dist/icon-button/icon-button2.js +1 -1
- package/dist/iframe/iframe2.js +1 -1
- package/dist/index.js +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/joystick/define.d.ts +6 -0
- package/dist/joystick/define.js +7 -0
- package/dist/joystick/define.js.map +1 -0
- package/dist/joystick/index.d.ts +1 -0
- package/dist/joystick/index.js +2 -0
- package/dist/joystick/joystick.d.ts +126 -0
- package/dist/joystick/joystick.examples.js +6 -0
- package/dist/joystick/joystick.examples.js.map +1 -0
- package/dist/joystick/joystick.examples.json +107 -0
- package/dist/joystick/joystick.js +6 -0
- package/dist/joystick/joystick.js.map +1 -0
- package/dist/joystick/joystick2.js +347 -0
- package/dist/joystick/joystick2.js.map +1 -0
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-group2.js +1 -1
- package/dist/menu/menu-item2.js +1 -1
- package/dist/menu/menu2.js +1 -1
- package/dist/month/month2.js +1 -1
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification2.js +1 -1
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +1 -1
- package/dist/page/page-panel/page-panel-header2.js +1 -1
- package/dist/page/page-panel/page-panel2.js +1 -1
- package/dist/page/page2.js +1 -1
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader2.js +1 -1
- package/dist/pagination/pagination2.js +1 -1
- package/dist/panel/panel2.js +4 -4
- package/dist/password/password2.js +1 -1
- package/dist/preferences-input/preferences-input2.js +1 -1
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-dot/progress-dot2.js +1 -1
- package/dist/progress-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle2.js +1 -1
- package/dist/search/search2.js +1 -1
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline2.js +1 -1
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps2.js +2 -2
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group2.js +1 -1
- package/dist/tabs/tabs-item-group2.js +1 -1
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag2.js +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +1 -1
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/week/week2.js +1 -1
- package/package.json +13 -1
|
@@ -2787,6 +2787,14 @@
|
|
|
2787
2787
|
"package": "@nvidia-elements/core/input"
|
|
2788
2788
|
}
|
|
2789
2789
|
},
|
|
2790
|
+
{
|
|
2791
|
+
"kind": "js",
|
|
2792
|
+
"name": "*",
|
|
2793
|
+
"declaration": {
|
|
2794
|
+
"name": "*",
|
|
2795
|
+
"package": "@nvidia-elements/core/joystick"
|
|
2796
|
+
}
|
|
2797
|
+
},
|
|
2790
2798
|
{
|
|
2791
2799
|
"kind": "js",
|
|
2792
2800
|
"name": "*",
|
|
@@ -30681,6 +30689,1187 @@
|
|
|
30681
30689
|
}
|
|
30682
30690
|
]
|
|
30683
30691
|
},
|
|
30692
|
+
{
|
|
30693
|
+
"kind": "javascript-module",
|
|
30694
|
+
"path": "/src/joystick/define.js",
|
|
30695
|
+
"declarations": [],
|
|
30696
|
+
"exports": []
|
|
30697
|
+
},
|
|
30698
|
+
{
|
|
30699
|
+
"kind": "javascript-module",
|
|
30700
|
+
"path": "/src/joystick/index.js",
|
|
30701
|
+
"declarations": [],
|
|
30702
|
+
"exports": [
|
|
30703
|
+
{
|
|
30704
|
+
"kind": "js",
|
|
30705
|
+
"name": "*",
|
|
30706
|
+
"declaration": {
|
|
30707
|
+
"name": "*",
|
|
30708
|
+
"module": "home/runner/work/elements/elements/projects/core/src/joystick/joystick.js"
|
|
30709
|
+
}
|
|
30710
|
+
}
|
|
30711
|
+
]
|
|
30712
|
+
},
|
|
30713
|
+
{
|
|
30714
|
+
"kind": "javascript-module",
|
|
30715
|
+
"path": "/src/joystick/joystick.js",
|
|
30716
|
+
"declarations": [
|
|
30717
|
+
{
|
|
30718
|
+
"kind": "class",
|
|
30719
|
+
"description": "A joystick selects a normalized two-axis vector with pointer or keyboard input.\nApplications own physical units, coordinate frames, input shaping, publishing cadence, recording clocks,\ncommand-outcome feedback, and alternative controls when needed.\n\nGive each joystick an accessible name with a label, aria-label, or aria-labelledby.\nEditable controls use the application role to receive two-axis keyboard input.\nThe default accessible description includes both normalized coordinates, keyboard instructions, and release behavior.\nA locked axis stays at zero; an absent value reads \"No position.\" Disabled and read-only controls omit instructions.\nCoordinates use up to six decimal places and the document language for number formatting.\nAn explicit aria-description or aria-describedby replaces the default focus description through standard ARIA precedence;\nit does not disable live announcements.",
|
|
30720
|
+
"name": "Joystick",
|
|
30721
|
+
"cssProperties": [
|
|
30722
|
+
{
|
|
30723
|
+
"name": "--width",
|
|
30724
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width)"
|
|
30725
|
+
},
|
|
30726
|
+
{
|
|
30727
|
+
"name": "--height",
|
|
30728
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height)"
|
|
30729
|
+
},
|
|
30730
|
+
{
|
|
30731
|
+
"name": "--background",
|
|
30732
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background)"
|
|
30733
|
+
},
|
|
30734
|
+
{
|
|
30735
|
+
"description": "Background opacity when the opacity flag is present. Defaults to 0.6. The border, crosshair, thumb, and focus indicator keep their opacity. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/opacity)",
|
|
30736
|
+
"name": "--opacity"
|
|
30737
|
+
},
|
|
30738
|
+
{
|
|
30739
|
+
"name": "--border",
|
|
30740
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border)"
|
|
30741
|
+
},
|
|
30742
|
+
{
|
|
30743
|
+
"name": "--thumb-width",
|
|
30744
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width)"
|
|
30745
|
+
},
|
|
30746
|
+
{
|
|
30747
|
+
"name": "--thumb-height",
|
|
30748
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height)"
|
|
30749
|
+
},
|
|
30750
|
+
{
|
|
30751
|
+
"name": "--thumb-background",
|
|
30752
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background)"
|
|
30753
|
+
},
|
|
30754
|
+
{
|
|
30755
|
+
"name": "--thumb-border",
|
|
30756
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border)"
|
|
30757
|
+
}
|
|
30758
|
+
],
|
|
30759
|
+
"members": [
|
|
30760
|
+
{
|
|
30761
|
+
"kind": "field",
|
|
30762
|
+
"name": "constraint",
|
|
30763
|
+
"type": {
|
|
30764
|
+
"text": "'circle' | 'square' | 'horizontal' | 'vertical'",
|
|
30765
|
+
"_sourceAliases": [
|
|
30766
|
+
"JoystickConstraint"
|
|
30767
|
+
],
|
|
30768
|
+
"values": [
|
|
30769
|
+
{
|
|
30770
|
+
"value": "circle",
|
|
30771
|
+
"description": ""
|
|
30772
|
+
},
|
|
30773
|
+
{
|
|
30774
|
+
"value": "square",
|
|
30775
|
+
"description": ""
|
|
30776
|
+
},
|
|
30777
|
+
{
|
|
30778
|
+
"value": "horizontal",
|
|
30779
|
+
"description": ""
|
|
30780
|
+
},
|
|
30781
|
+
{
|
|
30782
|
+
"value": "vertical",
|
|
30783
|
+
"description": ""
|
|
30784
|
+
}
|
|
30785
|
+
]
|
|
30786
|
+
},
|
|
30787
|
+
"default": "'circle'",
|
|
30788
|
+
"description": "Constrains the movement region or selects one axis. Circle limits vector magnitude to one;\nsquare permits both axes at full scale and a magnitude of up to Math.SQRT2.\nWith equally scaled planar velocity axes, square corners allow about 41% greater speed.\nMixed forward-velocity and turning-rate axes have no common physical magnitude.\nChanging the constraint projects the current value silently and cancels an active interaction.",
|
|
30789
|
+
"attribute": "constraint",
|
|
30790
|
+
"reflects": true
|
|
30791
|
+
},
|
|
30792
|
+
{
|
|
30793
|
+
"kind": "field",
|
|
30794
|
+
"name": "size",
|
|
30795
|
+
"type": {
|
|
30796
|
+
"text": "'sm' | 'md' | 'lg'",
|
|
30797
|
+
"_sourceAliases": [
|
|
30798
|
+
"Size"
|
|
30799
|
+
],
|
|
30800
|
+
"values": [
|
|
30801
|
+
{
|
|
30802
|
+
"value": "sm",
|
|
30803
|
+
"description": "Compact size for dense layouts or secondary elements with less visual prominence."
|
|
30804
|
+
},
|
|
30805
|
+
{
|
|
30806
|
+
"value": "md",
|
|
30807
|
+
"description": "Standard size that works well in most contexts and provides balanced visibility."
|
|
30808
|
+
},
|
|
30809
|
+
{
|
|
30810
|
+
"value": "lg",
|
|
30811
|
+
"description": "Larger size for emphasizing important elements or improving touch targets in spacious layouts."
|
|
30812
|
+
}
|
|
30813
|
+
]
|
|
30814
|
+
},
|
|
30815
|
+
"default": "'md'",
|
|
30816
|
+
"description": "Controls the visual scale of an element to match its importance and available space.\n- `sm` Compact size for dense layouts or secondary elements with less visual prominence.\n\n- `md` Standard size that works well in most contexts and provides balanced visibility.\n\n- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts.",
|
|
30817
|
+
"attribute": "size",
|
|
30818
|
+
"reflects": true,
|
|
30819
|
+
"descriptionText": "Controls the visual scale of an element to match its importance and available space."
|
|
30820
|
+
},
|
|
30821
|
+
{
|
|
30822
|
+
"kind": "field",
|
|
30823
|
+
"name": "opacity",
|
|
30824
|
+
"type": {
|
|
30825
|
+
"text": "boolean",
|
|
30826
|
+
"_sourceAliases": [],
|
|
30827
|
+
"values": [
|
|
30828
|
+
{
|
|
30829
|
+
"value": "true",
|
|
30830
|
+
"description": ""
|
|
30831
|
+
},
|
|
30832
|
+
{
|
|
30833
|
+
"value": "false",
|
|
30834
|
+
"description": ""
|
|
30835
|
+
}
|
|
30836
|
+
]
|
|
30837
|
+
},
|
|
30838
|
+
"default": "false",
|
|
30839
|
+
"description": "Enables background transparency using the --opacity CSS custom property.",
|
|
30840
|
+
"attribute": "opacity",
|
|
30841
|
+
"reflects": true
|
|
30842
|
+
},
|
|
30843
|
+
{
|
|
30844
|
+
"kind": "field",
|
|
30845
|
+
"name": "release",
|
|
30846
|
+
"type": {
|
|
30847
|
+
"text": "'center' | 'hold'",
|
|
30848
|
+
"_sourceAliases": [
|
|
30849
|
+
"JoystickRelease"
|
|
30850
|
+
],
|
|
30851
|
+
"values": [
|
|
30852
|
+
{
|
|
30853
|
+
"value": "center",
|
|
30854
|
+
"description": ""
|
|
30855
|
+
},
|
|
30856
|
+
{
|
|
30857
|
+
"value": "hold",
|
|
30858
|
+
"description": ""
|
|
30859
|
+
}
|
|
30860
|
+
]
|
|
30861
|
+
},
|
|
30862
|
+
"default": "'center'",
|
|
30863
|
+
"description": "Determines whether normal release returns to center or holds the final vector.\nInterrupted interactions return to neutral in either mode. Form reset restores the declared default instead.",
|
|
30864
|
+
"attribute": "release",
|
|
30865
|
+
"reflects": true
|
|
30866
|
+
},
|
|
30867
|
+
{
|
|
30868
|
+
"kind": "field",
|
|
30869
|
+
"name": "keyboardStep",
|
|
30870
|
+
"type": {
|
|
30871
|
+
"text": "number",
|
|
30872
|
+
"_sourceAliases": [],
|
|
30873
|
+
"values": [
|
|
30874
|
+
{
|
|
30875
|
+
"value": "number",
|
|
30876
|
+
"description": ""
|
|
30877
|
+
}
|
|
30878
|
+
]
|
|
30879
|
+
},
|
|
30880
|
+
"default": "0.1",
|
|
30881
|
+
"description": "Sets the normalized increment for each arrow key press. Repeated presses continue adjusting;\nreleasing the final arrow applies the release behavior. Escape cancels the interaction.\nInvalid steps fall back to 0.1. Modifier shortcuts and locked-axis directions remain available to the browser.",
|
|
30882
|
+
"attribute": "keyboard-step"
|
|
30883
|
+
},
|
|
30884
|
+
{
|
|
30885
|
+
"kind": "field",
|
|
30886
|
+
"name": "announce",
|
|
30887
|
+
"type": {
|
|
30888
|
+
"text": "'polite' | 'off'",
|
|
30889
|
+
"_sourceAliases": [],
|
|
30890
|
+
"values": [
|
|
30891
|
+
{
|
|
30892
|
+
"value": "polite",
|
|
30893
|
+
"description": ""
|
|
30894
|
+
},
|
|
30895
|
+
{
|
|
30896
|
+
"value": "off",
|
|
30897
|
+
"description": ""
|
|
30898
|
+
}
|
|
30899
|
+
]
|
|
30900
|
+
},
|
|
30901
|
+
"default": "'polite'",
|
|
30902
|
+
"description": "Controls automatic position announcements. Focused user input produces polite announcements at most every 500 ms.\nA quick tap in center mode reports the input coordinates and the return to center.\nEscape announces the resulting coordinates without a separate cancellation message.\nProgrammatic writes and read-only playback update the description without live announcements.\nSet off when the application supplies spoken output, the position description on focus remains available.",
|
|
30903
|
+
"attribute": "announce"
|
|
30904
|
+
},
|
|
30905
|
+
{
|
|
30906
|
+
"kind": "field",
|
|
30907
|
+
"name": "i18n",
|
|
30908
|
+
"description": "Enables updating internal string values for internationalization.",
|
|
30909
|
+
"attribute": "i18n"
|
|
30910
|
+
},
|
|
30911
|
+
{
|
|
30912
|
+
"kind": "field",
|
|
30913
|
+
"name": "disabled",
|
|
30914
|
+
"type": {
|
|
30915
|
+
"text": "boolean",
|
|
30916
|
+
"_sourceAliases": [],
|
|
30917
|
+
"values": [
|
|
30918
|
+
{
|
|
30919
|
+
"value": "true",
|
|
30920
|
+
"description": "The element has a disabled state and does not accept interaction."
|
|
30921
|
+
},
|
|
30922
|
+
{
|
|
30923
|
+
"value": "false",
|
|
30924
|
+
"description": "The element has an enabled state and accepts interaction."
|
|
30925
|
+
}
|
|
30926
|
+
]
|
|
30927
|
+
},
|
|
30928
|
+
"description": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)\n- `true` The element has a disabled state and does not accept interaction.\n\n- `false` The element has an enabled state and accepts interaction.",
|
|
30929
|
+
"descriptionText": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)",
|
|
30930
|
+
"attribute": "disabled"
|
|
30931
|
+
},
|
|
30932
|
+
{
|
|
30933
|
+
"kind": "field",
|
|
30934
|
+
"name": "readOnly",
|
|
30935
|
+
"type": {
|
|
30936
|
+
"text": "boolean",
|
|
30937
|
+
"_sourceAliases": [],
|
|
30938
|
+
"values": [
|
|
30939
|
+
{
|
|
30940
|
+
"value": "true",
|
|
30941
|
+
"description": "The element has a readonly state: the user cannot change its value, but can still focus and copy it."
|
|
30942
|
+
},
|
|
30943
|
+
{
|
|
30944
|
+
"value": "false",
|
|
30945
|
+
"description": "The element allows editing and the user can change its value through interaction."
|
|
30946
|
+
}
|
|
30947
|
+
]
|
|
30948
|
+
},
|
|
30949
|
+
"description": "Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\n- `true` The element has a readonly state: the user cannot change its value, but can still focus and copy it.\n\n- `false` The element allows editing and the user can change its value through interaction.",
|
|
30950
|
+
"descriptionText": "Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)",
|
|
30951
|
+
"attribute": "readonly"
|
|
30952
|
+
},
|
|
30953
|
+
{
|
|
30954
|
+
"kind": "method",
|
|
30955
|
+
"name": "updateValue",
|
|
30956
|
+
"parameters": [
|
|
30957
|
+
{
|
|
30958
|
+
"name": "value",
|
|
30959
|
+
"type": {
|
|
30960
|
+
"text": "JoystickValue"
|
|
30961
|
+
}
|
|
30962
|
+
}
|
|
30963
|
+
]
|
|
30964
|
+
},
|
|
30965
|
+
{
|
|
30966
|
+
"kind": "method",
|
|
30967
|
+
"name": "reset",
|
|
30968
|
+
"description": "Resets the control value to its initial value."
|
|
30969
|
+
},
|
|
30970
|
+
{
|
|
30971
|
+
"kind": "method",
|
|
30972
|
+
"name": "formStateRestoreCallback",
|
|
30973
|
+
"parameters": [
|
|
30974
|
+
{
|
|
30975
|
+
"name": "state",
|
|
30976
|
+
"type": {
|
|
30977
|
+
"text": "unknown"
|
|
30978
|
+
}
|
|
30979
|
+
},
|
|
30980
|
+
{
|
|
30981
|
+
"name": "_reason",
|
|
30982
|
+
"optional": true,
|
|
30983
|
+
"type": {
|
|
30984
|
+
"text": "string"
|
|
30985
|
+
}
|
|
30986
|
+
}
|
|
30987
|
+
]
|
|
30988
|
+
},
|
|
30989
|
+
{
|
|
30990
|
+
"kind": "field",
|
|
30991
|
+
"name": "value",
|
|
30992
|
+
"type": {
|
|
30993
|
+
"text": "JoystickValue | undefined",
|
|
30994
|
+
"_sourceAliases": [],
|
|
30995
|
+
"values": []
|
|
30996
|
+
},
|
|
30997
|
+
"default": "{ x: 0, y: 0 }",
|
|
30998
|
+
"description": "The normalized vector: positive x points right and positive y points down, independent of text direction. Assign a complete finite object within the selected constraint. Invalid vectors throw TypeError without replacing the previous value. Programmatic writes do not dispatch input or change events. Use undefined for an absent sample and a zero vector for recorded neutral input. Set readOnly before assigning replay ownership. User input can replace external writes during an interaction.",
|
|
30999
|
+
"attribute": "value"
|
|
31000
|
+
},
|
|
31001
|
+
{
|
|
31002
|
+
"kind": "field",
|
|
31003
|
+
"name": "defaultValue",
|
|
31004
|
+
"type": {
|
|
31005
|
+
"text": "string",
|
|
31006
|
+
"_sourceAliases": [],
|
|
31007
|
+
"values": [
|
|
31008
|
+
{
|
|
31009
|
+
"value": "string",
|
|
31010
|
+
"description": ""
|
|
31011
|
+
}
|
|
31012
|
+
]
|
|
31013
|
+
},
|
|
31014
|
+
"description": "The initial value used when the parent form resets.",
|
|
31015
|
+
"inheritedFrom": {
|
|
31016
|
+
"name": "FormControlMixin"
|
|
31017
|
+
}
|
|
31018
|
+
},
|
|
31019
|
+
{
|
|
31020
|
+
"kind": "field",
|
|
31021
|
+
"name": "required",
|
|
31022
|
+
"type": {
|
|
31023
|
+
"text": "boolean",
|
|
31024
|
+
"_sourceAliases": [],
|
|
31025
|
+
"values": [
|
|
31026
|
+
{
|
|
31027
|
+
"value": "true",
|
|
31028
|
+
"description": ""
|
|
31029
|
+
},
|
|
31030
|
+
{
|
|
31031
|
+
"value": "false",
|
|
31032
|
+
"description": ""
|
|
31033
|
+
}
|
|
31034
|
+
]
|
|
31035
|
+
},
|
|
31036
|
+
"description": "Requires a value before the parent form can submit.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required",
|
|
31037
|
+
"inheritedFrom": {
|
|
31038
|
+
"name": "FormControlMixin"
|
|
31039
|
+
},
|
|
31040
|
+
"attribute": "required",
|
|
31041
|
+
"reflects": true
|
|
31042
|
+
},
|
|
31043
|
+
{
|
|
31044
|
+
"kind": "field",
|
|
31045
|
+
"name": "pattern",
|
|
31046
|
+
"type": {
|
|
31047
|
+
"text": "string",
|
|
31048
|
+
"_sourceAliases": [],
|
|
31049
|
+
"values": [
|
|
31050
|
+
{
|
|
31051
|
+
"value": "string",
|
|
31052
|
+
"description": ""
|
|
31053
|
+
}
|
|
31054
|
+
]
|
|
31055
|
+
},
|
|
31056
|
+
"description": "Defines the pattern that text values must match.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern",
|
|
31057
|
+
"inheritedFrom": {
|
|
31058
|
+
"name": "FormControlMixin"
|
|
31059
|
+
},
|
|
31060
|
+
"attribute": "pattern",
|
|
31061
|
+
"reflects": true
|
|
31062
|
+
},
|
|
31063
|
+
{
|
|
31064
|
+
"kind": "field",
|
|
31065
|
+
"name": "min",
|
|
31066
|
+
"type": {
|
|
31067
|
+
"text": "number | null",
|
|
31068
|
+
"_sourceAliases": [],
|
|
31069
|
+
"values": [
|
|
31070
|
+
{
|
|
31071
|
+
"value": "number",
|
|
31072
|
+
"description": ""
|
|
31073
|
+
},
|
|
31074
|
+
{
|
|
31075
|
+
"value": "null",
|
|
31076
|
+
"description": ""
|
|
31077
|
+
}
|
|
31078
|
+
]
|
|
31079
|
+
},
|
|
31080
|
+
"description": "Defines the minimum numeric value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min",
|
|
31081
|
+
"inheritedFrom": {
|
|
31082
|
+
"name": "FormControlMixin"
|
|
31083
|
+
},
|
|
31084
|
+
"attribute": "min",
|
|
31085
|
+
"reflects": true
|
|
31086
|
+
},
|
|
31087
|
+
{
|
|
31088
|
+
"kind": "field",
|
|
31089
|
+
"name": "max",
|
|
31090
|
+
"type": {
|
|
31091
|
+
"text": "number | null",
|
|
31092
|
+
"_sourceAliases": [],
|
|
31093
|
+
"values": [
|
|
31094
|
+
{
|
|
31095
|
+
"value": "number",
|
|
31096
|
+
"description": ""
|
|
31097
|
+
},
|
|
31098
|
+
{
|
|
31099
|
+
"value": "null",
|
|
31100
|
+
"description": ""
|
|
31101
|
+
}
|
|
31102
|
+
]
|
|
31103
|
+
},
|
|
31104
|
+
"description": "Defines the maximum numeric value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max",
|
|
31105
|
+
"inheritedFrom": {
|
|
31106
|
+
"name": "FormControlMixin"
|
|
31107
|
+
},
|
|
31108
|
+
"attribute": "max",
|
|
31109
|
+
"reflects": true
|
|
31110
|
+
},
|
|
31111
|
+
{
|
|
31112
|
+
"kind": "field",
|
|
31113
|
+
"name": "step",
|
|
31114
|
+
"type": {
|
|
31115
|
+
"text": "number | null",
|
|
31116
|
+
"_sourceAliases": [],
|
|
31117
|
+
"values": [
|
|
31118
|
+
{
|
|
31119
|
+
"value": "number",
|
|
31120
|
+
"description": ""
|
|
31121
|
+
},
|
|
31122
|
+
{
|
|
31123
|
+
"value": "null",
|
|
31124
|
+
"description": ""
|
|
31125
|
+
}
|
|
31126
|
+
]
|
|
31127
|
+
},
|
|
31128
|
+
"description": "Defines the value granularity for numeric inputs.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step",
|
|
31129
|
+
"inheritedFrom": {
|
|
31130
|
+
"name": "FormControlMixin"
|
|
31131
|
+
},
|
|
31132
|
+
"attribute": "step",
|
|
31133
|
+
"reflects": true
|
|
31134
|
+
},
|
|
31135
|
+
{
|
|
31136
|
+
"kind": "field",
|
|
31137
|
+
"name": "minLength",
|
|
31138
|
+
"type": {
|
|
31139
|
+
"text": "number",
|
|
31140
|
+
"_sourceAliases": [],
|
|
31141
|
+
"values": [
|
|
31142
|
+
{
|
|
31143
|
+
"value": "number",
|
|
31144
|
+
"description": ""
|
|
31145
|
+
}
|
|
31146
|
+
]
|
|
31147
|
+
},
|
|
31148
|
+
"description": "Defines the minimum text length.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength",
|
|
31149
|
+
"inheritedFrom": {
|
|
31150
|
+
"name": "FormControlMixin"
|
|
31151
|
+
},
|
|
31152
|
+
"attribute": "minlength",
|
|
31153
|
+
"reflects": true
|
|
31154
|
+
},
|
|
31155
|
+
{
|
|
31156
|
+
"kind": "field",
|
|
31157
|
+
"name": "maxLength",
|
|
31158
|
+
"type": {
|
|
31159
|
+
"text": "number",
|
|
31160
|
+
"_sourceAliases": [],
|
|
31161
|
+
"values": [
|
|
31162
|
+
{
|
|
31163
|
+
"value": "number",
|
|
31164
|
+
"description": ""
|
|
31165
|
+
}
|
|
31166
|
+
]
|
|
31167
|
+
},
|
|
31168
|
+
"description": "Defines the maximum text length.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength",
|
|
31169
|
+
"inheritedFrom": {
|
|
31170
|
+
"name": "FormControlMixin"
|
|
31171
|
+
},
|
|
31172
|
+
"attribute": "maxlength",
|
|
31173
|
+
"reflects": true
|
|
31174
|
+
},
|
|
31175
|
+
{
|
|
31176
|
+
"kind": "field",
|
|
31177
|
+
"name": "name",
|
|
31178
|
+
"type": {
|
|
31179
|
+
"text": "string",
|
|
31180
|
+
"_sourceAliases": [],
|
|
31181
|
+
"values": [
|
|
31182
|
+
{
|
|
31183
|
+
"value": "string",
|
|
31184
|
+
"description": ""
|
|
31185
|
+
}
|
|
31186
|
+
]
|
|
31187
|
+
},
|
|
31188
|
+
"description": "The name submitted with the control value as part of the form data.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/name",
|
|
31189
|
+
"inheritedFrom": {
|
|
31190
|
+
"name": "FormControlMixin"
|
|
31191
|
+
},
|
|
31192
|
+
"attribute": "name",
|
|
31193
|
+
"reflects": true
|
|
31194
|
+
},
|
|
31195
|
+
{
|
|
31196
|
+
"kind": "field",
|
|
31197
|
+
"name": "noValidate",
|
|
31198
|
+
"type": {
|
|
31199
|
+
"text": "boolean",
|
|
31200
|
+
"_sourceAliases": [],
|
|
31201
|
+
"values": [
|
|
31202
|
+
{
|
|
31203
|
+
"value": "true",
|
|
31204
|
+
"description": ""
|
|
31205
|
+
},
|
|
31206
|
+
{
|
|
31207
|
+
"value": "false",
|
|
31208
|
+
"description": ""
|
|
31209
|
+
}
|
|
31210
|
+
]
|
|
31211
|
+
},
|
|
31212
|
+
"description": "Disables constraint validation for this control.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate",
|
|
31213
|
+
"inheritedFrom": {
|
|
31214
|
+
"name": "FormControlMixin"
|
|
31215
|
+
},
|
|
31216
|
+
"attribute": "novalidate",
|
|
31217
|
+
"reflects": true
|
|
31218
|
+
},
|
|
31219
|
+
{
|
|
31220
|
+
"kind": "field",
|
|
31221
|
+
"name": "form",
|
|
31222
|
+
"type": {
|
|
31223
|
+
"text": "HTMLFormElement | null",
|
|
31224
|
+
"_sourceAliases": [],
|
|
31225
|
+
"values": []
|
|
31226
|
+
},
|
|
31227
|
+
"description": "The form associated with the control.\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form",
|
|
31228
|
+
"inheritedFrom": {
|
|
31229
|
+
"name": "FormControlMixin"
|
|
31230
|
+
}
|
|
31231
|
+
},
|
|
31232
|
+
{
|
|
31233
|
+
"kind": "field",
|
|
31234
|
+
"name": "willValidate",
|
|
31235
|
+
"type": {
|
|
31236
|
+
"text": "boolean",
|
|
31237
|
+
"_sourceAliases": [],
|
|
31238
|
+
"values": [
|
|
31239
|
+
{
|
|
31240
|
+
"value": "true",
|
|
31241
|
+
"description": ""
|
|
31242
|
+
},
|
|
31243
|
+
{
|
|
31244
|
+
"value": "false",
|
|
31245
|
+
"description": ""
|
|
31246
|
+
}
|
|
31247
|
+
]
|
|
31248
|
+
},
|
|
31249
|
+
"description": "Indicates whether the control participates in constraint validation.\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate",
|
|
31250
|
+
"inheritedFrom": {
|
|
31251
|
+
"name": "FormControlMixin"
|
|
31252
|
+
}
|
|
31253
|
+
},
|
|
31254
|
+
{
|
|
31255
|
+
"kind": "field",
|
|
31256
|
+
"name": "validity",
|
|
31257
|
+
"type": {
|
|
31258
|
+
"text": "ValidityState",
|
|
31259
|
+
"_sourceAliases": [],
|
|
31260
|
+
"values": []
|
|
31261
|
+
},
|
|
31262
|
+
"description": "The control validity state.\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validity",
|
|
31263
|
+
"inheritedFrom": {
|
|
31264
|
+
"name": "FormControlMixin"
|
|
31265
|
+
}
|
|
31266
|
+
},
|
|
31267
|
+
{
|
|
31268
|
+
"kind": "field",
|
|
31269
|
+
"name": "validationMessage",
|
|
31270
|
+
"type": {
|
|
31271
|
+
"text": "string",
|
|
31272
|
+
"_sourceAliases": [],
|
|
31273
|
+
"values": [
|
|
31274
|
+
{
|
|
31275
|
+
"value": "string",
|
|
31276
|
+
"description": ""
|
|
31277
|
+
}
|
|
31278
|
+
]
|
|
31279
|
+
},
|
|
31280
|
+
"description": "The validation message shown when the control is invalid.\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage",
|
|
31281
|
+
"inheritedFrom": {
|
|
31282
|
+
"name": "FormControlMixin"
|
|
31283
|
+
}
|
|
31284
|
+
},
|
|
31285
|
+
{
|
|
31286
|
+
"kind": "field",
|
|
31287
|
+
"name": "valueAsString",
|
|
31288
|
+
"type": {
|
|
31289
|
+
"text": "string",
|
|
31290
|
+
"_sourceAliases": [],
|
|
31291
|
+
"values": [
|
|
31292
|
+
{
|
|
31293
|
+
"value": "string",
|
|
31294
|
+
"description": ""
|
|
31295
|
+
}
|
|
31296
|
+
]
|
|
31297
|
+
},
|
|
31298
|
+
"description": "The current value serialized as a string.",
|
|
31299
|
+
"inheritedFrom": {
|
|
31300
|
+
"name": "FormControlMixin"
|
|
31301
|
+
}
|
|
31302
|
+
},
|
|
31303
|
+
{
|
|
31304
|
+
"kind": "field",
|
|
31305
|
+
"name": "valueAsNumber",
|
|
31306
|
+
"type": {
|
|
31307
|
+
"text": "number",
|
|
31308
|
+
"_sourceAliases": [],
|
|
31309
|
+
"values": [
|
|
31310
|
+
{
|
|
31311
|
+
"value": "number",
|
|
31312
|
+
"description": ""
|
|
31313
|
+
}
|
|
31314
|
+
]
|
|
31315
|
+
},
|
|
31316
|
+
"description": "The current value parsed as a number.",
|
|
31317
|
+
"inheritedFrom": {
|
|
31318
|
+
"name": "FormControlMixin"
|
|
31319
|
+
}
|
|
31320
|
+
},
|
|
31321
|
+
{
|
|
31322
|
+
"kind": "field",
|
|
31323
|
+
"name": "type",
|
|
31324
|
+
"type": {
|
|
31325
|
+
"text": "string",
|
|
31326
|
+
"_sourceAliases": [],
|
|
31327
|
+
"values": [
|
|
31328
|
+
{
|
|
31329
|
+
"value": "string",
|
|
31330
|
+
"description": ""
|
|
31331
|
+
}
|
|
31332
|
+
]
|
|
31333
|
+
},
|
|
31334
|
+
"description": "The control type.",
|
|
31335
|
+
"inheritedFrom": {
|
|
31336
|
+
"name": "FormControlMixin"
|
|
31337
|
+
}
|
|
31338
|
+
},
|
|
31339
|
+
{
|
|
31340
|
+
"kind": "field",
|
|
31341
|
+
"name": "labels",
|
|
31342
|
+
"type": {
|
|
31343
|
+
"text": "NodeList",
|
|
31344
|
+
"_sourceAliases": [],
|
|
31345
|
+
"values": []
|
|
31346
|
+
},
|
|
31347
|
+
"description": "Labels associated with the control.\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels",
|
|
31348
|
+
"inheritedFrom": {
|
|
31349
|
+
"name": "FormControlMixin"
|
|
31350
|
+
}
|
|
31351
|
+
},
|
|
31352
|
+
{
|
|
31353
|
+
"kind": "field",
|
|
31354
|
+
"name": "composedLabel",
|
|
31355
|
+
"type": {
|
|
31356
|
+
"text": "string",
|
|
31357
|
+
"_sourceAliases": [],
|
|
31358
|
+
"values": [
|
|
31359
|
+
{
|
|
31360
|
+
"value": "string",
|
|
31361
|
+
"description": ""
|
|
31362
|
+
}
|
|
31363
|
+
]
|
|
31364
|
+
},
|
|
31365
|
+
"description": "Text content from labels associated with the control.",
|
|
31366
|
+
"inheritedFrom": {
|
|
31367
|
+
"name": "FormControlMixin"
|
|
31368
|
+
}
|
|
31369
|
+
},
|
|
31370
|
+
{
|
|
31371
|
+
"kind": "method",
|
|
31372
|
+
"name": "reportValidity",
|
|
31373
|
+
"parameters": [],
|
|
31374
|
+
"return": {
|
|
31375
|
+
"type": {
|
|
31376
|
+
"text": "boolean"
|
|
31377
|
+
}
|
|
31378
|
+
},
|
|
31379
|
+
"description": "Reports whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity",
|
|
31380
|
+
"inheritedFrom": {
|
|
31381
|
+
"name": "FormControlMixin"
|
|
31382
|
+
}
|
|
31383
|
+
},
|
|
31384
|
+
{
|
|
31385
|
+
"kind": "method",
|
|
31386
|
+
"name": "checkValidity",
|
|
31387
|
+
"parameters": [],
|
|
31388
|
+
"return": {
|
|
31389
|
+
"type": {
|
|
31390
|
+
"text": "boolean"
|
|
31391
|
+
}
|
|
31392
|
+
},
|
|
31393
|
+
"description": "Checks whether the control satisfies its constraints.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity",
|
|
31394
|
+
"inheritedFrom": {
|
|
31395
|
+
"name": "FormControlMixin"
|
|
31396
|
+
}
|
|
31397
|
+
},
|
|
31398
|
+
{
|
|
31399
|
+
"kind": "method",
|
|
31400
|
+
"name": "setCustomValidity",
|
|
31401
|
+
"parameters": [
|
|
31402
|
+
{
|
|
31403
|
+
"name": "message",
|
|
31404
|
+
"type": {
|
|
31405
|
+
"text": "string"
|
|
31406
|
+
}
|
|
31407
|
+
}
|
|
31408
|
+
],
|
|
31409
|
+
"return": {
|
|
31410
|
+
"type": {
|
|
31411
|
+
"text": "void"
|
|
31412
|
+
}
|
|
31413
|
+
},
|
|
31414
|
+
"description": "Sets a custom validation message.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity",
|
|
31415
|
+
"inheritedFrom": {
|
|
31416
|
+
"name": "FormControlMixin"
|
|
31417
|
+
}
|
|
31418
|
+
}
|
|
31419
|
+
],
|
|
31420
|
+
"events": [
|
|
31421
|
+
{
|
|
31422
|
+
"name": "interaction-start",
|
|
31423
|
+
"type": {
|
|
31424
|
+
"text": "CustomEvent"
|
|
31425
|
+
},
|
|
31426
|
+
"description": "Dispatched with the pointer or keyboard source after setting :state(active), including engagement at neutral."
|
|
31427
|
+
},
|
|
31428
|
+
{
|
|
31429
|
+
"name": "interaction-end",
|
|
31430
|
+
"type": {
|
|
31431
|
+
"text": "CustomEvent"
|
|
31432
|
+
},
|
|
31433
|
+
"description": "Dispatched with the source and terminal reason after clearing :state(active). Interruption first sends any necessary neutral input. Reset restores the declared default without value events. Detached events cannot bubble to former ancestors."
|
|
31434
|
+
},
|
|
31435
|
+
{
|
|
31436
|
+
"description": "Dispatched after user input changes the vector, including a return to neutral. Read .value for the current vector. A held position does not generate repeated events. Publish commands at an application-controlled cadence.",
|
|
31437
|
+
"name": "input"
|
|
31438
|
+
},
|
|
31439
|
+
{
|
|
31440
|
+
"description": "Dispatched after a normal interaction completes and produces input. Cancellation sends any necessary neutral input without change.",
|
|
31441
|
+
"name": "change"
|
|
31442
|
+
}
|
|
31443
|
+
],
|
|
31444
|
+
"attributes": [
|
|
31445
|
+
{
|
|
31446
|
+
"name": "tabindex"
|
|
31447
|
+
},
|
|
31448
|
+
{
|
|
31449
|
+
"type": {
|
|
31450
|
+
"text": "string",
|
|
31451
|
+
"_sourceAliases": [],
|
|
31452
|
+
"values": [
|
|
31453
|
+
{
|
|
31454
|
+
"value": "string",
|
|
31455
|
+
"description": ""
|
|
31456
|
+
}
|
|
31457
|
+
]
|
|
31458
|
+
},
|
|
31459
|
+
"description": "Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)",
|
|
31460
|
+
"name": "value"
|
|
31461
|
+
},
|
|
31462
|
+
{
|
|
31463
|
+
"name": "constraint",
|
|
31464
|
+
"type": {
|
|
31465
|
+
"text": "'circle' | 'square' | 'horizontal' | 'vertical'",
|
|
31466
|
+
"_sourceAliases": [
|
|
31467
|
+
"JoystickConstraint"
|
|
31468
|
+
],
|
|
31469
|
+
"values": [
|
|
31470
|
+
{
|
|
31471
|
+
"value": "circle",
|
|
31472
|
+
"description": ""
|
|
31473
|
+
},
|
|
31474
|
+
{
|
|
31475
|
+
"value": "square",
|
|
31476
|
+
"description": ""
|
|
31477
|
+
},
|
|
31478
|
+
{
|
|
31479
|
+
"value": "horizontal",
|
|
31480
|
+
"description": ""
|
|
31481
|
+
},
|
|
31482
|
+
{
|
|
31483
|
+
"value": "vertical",
|
|
31484
|
+
"description": ""
|
|
31485
|
+
}
|
|
31486
|
+
]
|
|
31487
|
+
},
|
|
31488
|
+
"default": "'circle'",
|
|
31489
|
+
"description": "Constrains the movement region or selects one axis. Circle limits vector magnitude to one;\nsquare permits both axes at full scale and a magnitude of up to Math.SQRT2.\nWith equally scaled planar velocity axes, square corners allow about 41% greater speed.\nMixed forward-velocity and turning-rate axes have no common physical magnitude.\nChanging the constraint projects the current value silently and cancels an active interaction.",
|
|
31490
|
+
"fieldName": "constraint"
|
|
31491
|
+
},
|
|
31492
|
+
{
|
|
31493
|
+
"name": "size",
|
|
31494
|
+
"type": {
|
|
31495
|
+
"text": "'sm' | 'md' | 'lg'",
|
|
31496
|
+
"_sourceAliases": [
|
|
31497
|
+
"Size"
|
|
31498
|
+
],
|
|
31499
|
+
"values": [
|
|
31500
|
+
{
|
|
31501
|
+
"value": "sm",
|
|
31502
|
+
"description": "Compact size for dense layouts or secondary elements with less visual prominence."
|
|
31503
|
+
},
|
|
31504
|
+
{
|
|
31505
|
+
"value": "md",
|
|
31506
|
+
"description": "Standard size that works well in most contexts and provides balanced visibility."
|
|
31507
|
+
},
|
|
31508
|
+
{
|
|
31509
|
+
"value": "lg",
|
|
31510
|
+
"description": "Larger size for emphasizing important elements or improving touch targets in spacious layouts."
|
|
31511
|
+
}
|
|
31512
|
+
]
|
|
31513
|
+
},
|
|
31514
|
+
"default": "'md'",
|
|
31515
|
+
"description": "Controls the visual scale of an element to match its importance and available space.\n- `sm` Compact size for dense layouts or secondary elements with less visual prominence.\n\n- `md` Standard size that works well in most contexts and provides balanced visibility.\n\n- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts.",
|
|
31516
|
+
"fieldName": "size",
|
|
31517
|
+
"descriptionText": "Controls the visual scale of an element to match its importance and available space."
|
|
31518
|
+
},
|
|
31519
|
+
{
|
|
31520
|
+
"name": "opacity",
|
|
31521
|
+
"type": {
|
|
31522
|
+
"text": "boolean",
|
|
31523
|
+
"_sourceAliases": [],
|
|
31524
|
+
"values": [
|
|
31525
|
+
{
|
|
31526
|
+
"value": "true",
|
|
31527
|
+
"description": ""
|
|
31528
|
+
},
|
|
31529
|
+
{
|
|
31530
|
+
"value": "false",
|
|
31531
|
+
"description": ""
|
|
31532
|
+
}
|
|
31533
|
+
]
|
|
31534
|
+
},
|
|
31535
|
+
"default": "false",
|
|
31536
|
+
"description": "Enables background transparency using the --opacity CSS custom property.",
|
|
31537
|
+
"fieldName": "opacity"
|
|
31538
|
+
},
|
|
31539
|
+
{
|
|
31540
|
+
"name": "release",
|
|
31541
|
+
"type": {
|
|
31542
|
+
"text": "'center' | 'hold'",
|
|
31543
|
+
"_sourceAliases": [
|
|
31544
|
+
"JoystickRelease"
|
|
31545
|
+
],
|
|
31546
|
+
"values": [
|
|
31547
|
+
{
|
|
31548
|
+
"value": "center",
|
|
31549
|
+
"description": ""
|
|
31550
|
+
},
|
|
31551
|
+
{
|
|
31552
|
+
"value": "hold",
|
|
31553
|
+
"description": ""
|
|
31554
|
+
}
|
|
31555
|
+
]
|
|
31556
|
+
},
|
|
31557
|
+
"default": "'center'",
|
|
31558
|
+
"description": "Determines whether normal release returns to center or holds the final vector.\nInterrupted interactions return to neutral in either mode. Form reset restores the declared default instead.",
|
|
31559
|
+
"fieldName": "release"
|
|
31560
|
+
},
|
|
31561
|
+
{
|
|
31562
|
+
"name": "keyboard-step",
|
|
31563
|
+
"type": {
|
|
31564
|
+
"text": "number",
|
|
31565
|
+
"_sourceAliases": [],
|
|
31566
|
+
"values": [
|
|
31567
|
+
{
|
|
31568
|
+
"value": "number",
|
|
31569
|
+
"description": ""
|
|
31570
|
+
}
|
|
31571
|
+
]
|
|
31572
|
+
},
|
|
31573
|
+
"default": "0.1",
|
|
31574
|
+
"description": "Sets the normalized increment for each arrow key press. Repeated presses continue adjusting;\nreleasing the final arrow applies the release behavior. Escape cancels the interaction.\nInvalid steps fall back to 0.1. Modifier shortcuts and locked-axis directions remain available to the browser.",
|
|
31575
|
+
"fieldName": "keyboardStep"
|
|
31576
|
+
},
|
|
31577
|
+
{
|
|
31578
|
+
"name": "announce",
|
|
31579
|
+
"type": {
|
|
31580
|
+
"text": "'polite' | 'off'",
|
|
31581
|
+
"_sourceAliases": [],
|
|
31582
|
+
"values": [
|
|
31583
|
+
{
|
|
31584
|
+
"value": "polite",
|
|
31585
|
+
"description": ""
|
|
31586
|
+
},
|
|
31587
|
+
{
|
|
31588
|
+
"value": "off",
|
|
31589
|
+
"description": ""
|
|
31590
|
+
}
|
|
31591
|
+
]
|
|
31592
|
+
},
|
|
31593
|
+
"default": "'polite'",
|
|
31594
|
+
"description": "Controls automatic position announcements. Focused user input produces polite announcements at most every 500 ms.\nA quick tap in center mode reports the input coordinates and the return to center.\nEscape announces the resulting coordinates without a separate cancellation message.\nProgrammatic writes and read-only playback update the description without live announcements.\nSet off when the application supplies spoken output, the position description on focus remains available.",
|
|
31595
|
+
"fieldName": "announce"
|
|
31596
|
+
},
|
|
31597
|
+
{
|
|
31598
|
+
"name": "i18n",
|
|
31599
|
+
"description": "Enables updating internal string values for internationalization.",
|
|
31600
|
+
"fieldName": "i18n"
|
|
31601
|
+
},
|
|
31602
|
+
{
|
|
31603
|
+
"name": "readonly",
|
|
31604
|
+
"fieldName": "readOnly",
|
|
31605
|
+
"type": {
|
|
31606
|
+
"text": "boolean",
|
|
31607
|
+
"_sourceAliases": [],
|
|
31608
|
+
"values": [
|
|
31609
|
+
{
|
|
31610
|
+
"value": "true",
|
|
31611
|
+
"description": ""
|
|
31612
|
+
},
|
|
31613
|
+
{
|
|
31614
|
+
"value": "false",
|
|
31615
|
+
"description": ""
|
|
31616
|
+
}
|
|
31617
|
+
]
|
|
31618
|
+
},
|
|
31619
|
+
"description": "Prevents the user from changing the control value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly",
|
|
31620
|
+
"inheritedFrom": {
|
|
31621
|
+
"name": "FormControlMixin"
|
|
31622
|
+
}
|
|
31623
|
+
},
|
|
31624
|
+
{
|
|
31625
|
+
"name": "disabled",
|
|
31626
|
+
"fieldName": "disabled",
|
|
31627
|
+
"type": {
|
|
31628
|
+
"text": "boolean",
|
|
31629
|
+
"_sourceAliases": [],
|
|
31630
|
+
"values": [
|
|
31631
|
+
{
|
|
31632
|
+
"value": "true",
|
|
31633
|
+
"description": "The element has a disabled state and does not accept interaction."
|
|
31634
|
+
},
|
|
31635
|
+
{
|
|
31636
|
+
"value": "false",
|
|
31637
|
+
"description": "The element has an enabled state and accepts interaction."
|
|
31638
|
+
}
|
|
31639
|
+
]
|
|
31640
|
+
},
|
|
31641
|
+
"description": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)\n- `true` The element has a disabled state and does not accept interaction.\n\n- `false` The element has an enabled state and accepts interaction.",
|
|
31642
|
+
"inheritedFrom": {
|
|
31643
|
+
"name": "FormControlMixin"
|
|
31644
|
+
},
|
|
31645
|
+
"descriptionText": "This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled)"
|
|
31646
|
+
},
|
|
31647
|
+
{
|
|
31648
|
+
"name": "required",
|
|
31649
|
+
"fieldName": "required",
|
|
31650
|
+
"type": {
|
|
31651
|
+
"text": "boolean",
|
|
31652
|
+
"_sourceAliases": [],
|
|
31653
|
+
"values": [
|
|
31654
|
+
{
|
|
31655
|
+
"value": "true",
|
|
31656
|
+
"description": ""
|
|
31657
|
+
},
|
|
31658
|
+
{
|
|
31659
|
+
"value": "false",
|
|
31660
|
+
"description": ""
|
|
31661
|
+
}
|
|
31662
|
+
]
|
|
31663
|
+
},
|
|
31664
|
+
"description": "Requires a value before the parent form can submit.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required",
|
|
31665
|
+
"inheritedFrom": {
|
|
31666
|
+
"name": "FormControlMixin"
|
|
31667
|
+
}
|
|
31668
|
+
},
|
|
31669
|
+
{
|
|
31670
|
+
"name": "pattern",
|
|
31671
|
+
"fieldName": "pattern",
|
|
31672
|
+
"type": {
|
|
31673
|
+
"text": "string",
|
|
31674
|
+
"_sourceAliases": [],
|
|
31675
|
+
"values": [
|
|
31676
|
+
{
|
|
31677
|
+
"value": "string",
|
|
31678
|
+
"description": ""
|
|
31679
|
+
}
|
|
31680
|
+
]
|
|
31681
|
+
},
|
|
31682
|
+
"description": "Defines the pattern that text values must match.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern",
|
|
31683
|
+
"inheritedFrom": {
|
|
31684
|
+
"name": "FormControlMixin"
|
|
31685
|
+
}
|
|
31686
|
+
},
|
|
31687
|
+
{
|
|
31688
|
+
"name": "min",
|
|
31689
|
+
"fieldName": "min",
|
|
31690
|
+
"type": {
|
|
31691
|
+
"text": "number | null",
|
|
31692
|
+
"_sourceAliases": [],
|
|
31693
|
+
"values": [
|
|
31694
|
+
{
|
|
31695
|
+
"value": "number",
|
|
31696
|
+
"description": ""
|
|
31697
|
+
},
|
|
31698
|
+
{
|
|
31699
|
+
"value": "null",
|
|
31700
|
+
"description": ""
|
|
31701
|
+
}
|
|
31702
|
+
]
|
|
31703
|
+
},
|
|
31704
|
+
"description": "Defines the minimum numeric value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min",
|
|
31705
|
+
"inheritedFrom": {
|
|
31706
|
+
"name": "FormControlMixin"
|
|
31707
|
+
}
|
|
31708
|
+
},
|
|
31709
|
+
{
|
|
31710
|
+
"name": "max",
|
|
31711
|
+
"fieldName": "max",
|
|
31712
|
+
"type": {
|
|
31713
|
+
"text": "number | null",
|
|
31714
|
+
"_sourceAliases": [],
|
|
31715
|
+
"values": [
|
|
31716
|
+
{
|
|
31717
|
+
"value": "number",
|
|
31718
|
+
"description": ""
|
|
31719
|
+
},
|
|
31720
|
+
{
|
|
31721
|
+
"value": "null",
|
|
31722
|
+
"description": ""
|
|
31723
|
+
}
|
|
31724
|
+
]
|
|
31725
|
+
},
|
|
31726
|
+
"description": "Defines the maximum numeric value.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max",
|
|
31727
|
+
"inheritedFrom": {
|
|
31728
|
+
"name": "FormControlMixin"
|
|
31729
|
+
}
|
|
31730
|
+
},
|
|
31731
|
+
{
|
|
31732
|
+
"name": "step",
|
|
31733
|
+
"fieldName": "step",
|
|
31734
|
+
"type": {
|
|
31735
|
+
"text": "number | null",
|
|
31736
|
+
"_sourceAliases": [],
|
|
31737
|
+
"values": [
|
|
31738
|
+
{
|
|
31739
|
+
"value": "number",
|
|
31740
|
+
"description": ""
|
|
31741
|
+
},
|
|
31742
|
+
{
|
|
31743
|
+
"value": "null",
|
|
31744
|
+
"description": ""
|
|
31745
|
+
}
|
|
31746
|
+
]
|
|
31747
|
+
},
|
|
31748
|
+
"description": "Defines the value granularity for numeric inputs.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step",
|
|
31749
|
+
"inheritedFrom": {
|
|
31750
|
+
"name": "FormControlMixin"
|
|
31751
|
+
}
|
|
31752
|
+
},
|
|
31753
|
+
{
|
|
31754
|
+
"name": "minlength",
|
|
31755
|
+
"fieldName": "minLength",
|
|
31756
|
+
"type": {
|
|
31757
|
+
"text": "number",
|
|
31758
|
+
"_sourceAliases": [],
|
|
31759
|
+
"values": [
|
|
31760
|
+
{
|
|
31761
|
+
"value": "number",
|
|
31762
|
+
"description": ""
|
|
31763
|
+
}
|
|
31764
|
+
]
|
|
31765
|
+
},
|
|
31766
|
+
"description": "Defines the minimum text length.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength",
|
|
31767
|
+
"inheritedFrom": {
|
|
31768
|
+
"name": "FormControlMixin"
|
|
31769
|
+
}
|
|
31770
|
+
},
|
|
31771
|
+
{
|
|
31772
|
+
"name": "maxlength",
|
|
31773
|
+
"fieldName": "maxLength",
|
|
31774
|
+
"type": {
|
|
31775
|
+
"text": "number",
|
|
31776
|
+
"_sourceAliases": [],
|
|
31777
|
+
"values": [
|
|
31778
|
+
{
|
|
31779
|
+
"value": "number",
|
|
31780
|
+
"description": ""
|
|
31781
|
+
}
|
|
31782
|
+
]
|
|
31783
|
+
},
|
|
31784
|
+
"description": "Defines the maximum text length.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength",
|
|
31785
|
+
"inheritedFrom": {
|
|
31786
|
+
"name": "FormControlMixin"
|
|
31787
|
+
}
|
|
31788
|
+
},
|
|
31789
|
+
{
|
|
31790
|
+
"name": "name",
|
|
31791
|
+
"fieldName": "name",
|
|
31792
|
+
"type": {
|
|
31793
|
+
"text": "string",
|
|
31794
|
+
"_sourceAliases": [],
|
|
31795
|
+
"values": [
|
|
31796
|
+
{
|
|
31797
|
+
"value": "string",
|
|
31798
|
+
"description": ""
|
|
31799
|
+
}
|
|
31800
|
+
]
|
|
31801
|
+
},
|
|
31802
|
+
"description": "The name of the element, submitted as a pair with the element value as part of the form data. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name)",
|
|
31803
|
+
"inheritedFrom": {
|
|
31804
|
+
"name": "FormControlMixin"
|
|
31805
|
+
}
|
|
31806
|
+
},
|
|
31807
|
+
{
|
|
31808
|
+
"name": "novalidate",
|
|
31809
|
+
"fieldName": "noValidate",
|
|
31810
|
+
"type": {
|
|
31811
|
+
"text": "boolean",
|
|
31812
|
+
"_sourceAliases": [],
|
|
31813
|
+
"values": [
|
|
31814
|
+
{
|
|
31815
|
+
"value": "true",
|
|
31816
|
+
"description": ""
|
|
31817
|
+
},
|
|
31818
|
+
{
|
|
31819
|
+
"value": "false",
|
|
31820
|
+
"description": ""
|
|
31821
|
+
}
|
|
31822
|
+
]
|
|
31823
|
+
},
|
|
31824
|
+
"description": "Disables constraint validation for this control.\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate",
|
|
31825
|
+
"inheritedFrom": {
|
|
31826
|
+
"name": "FormControlMixin"
|
|
31827
|
+
}
|
|
31828
|
+
}
|
|
31829
|
+
],
|
|
31830
|
+
"mixins": [
|
|
31831
|
+
{
|
|
31832
|
+
"name": "FormControlMixin",
|
|
31833
|
+
"package": "@nvidia-elements/forms/mixins"
|
|
31834
|
+
}
|
|
31835
|
+
],
|
|
31836
|
+
"superclass": {
|
|
31837
|
+
"name": "LitElement",
|
|
31838
|
+
"package": "lit"
|
|
31839
|
+
},
|
|
31840
|
+
"tagName": "nve-joystick",
|
|
31841
|
+
"customElement": true,
|
|
31842
|
+
"metadata": {
|
|
31843
|
+
"unitTests": true,
|
|
31844
|
+
"apiReview": true,
|
|
31845
|
+
"performance": true,
|
|
31846
|
+
"stable": false,
|
|
31847
|
+
"vqa": true,
|
|
31848
|
+
"responsive": true,
|
|
31849
|
+
"themes": true,
|
|
31850
|
+
"aria": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals",
|
|
31851
|
+
"entrypoint": "@nvidia-elements/core/joystick",
|
|
31852
|
+
"example": "<nve-joystick aria-label=\"Movement\"></nve-joystick>",
|
|
31853
|
+
"package": true,
|
|
31854
|
+
"documentation": "https://nvidia.github.io/elements/docs/elements/joystick/",
|
|
31855
|
+
"since": "0.0.0",
|
|
31856
|
+
"status": "beta",
|
|
31857
|
+
"behavior": "form",
|
|
31858
|
+
"markdown": "## nve-joystick\n\nA joystick selects a normalized two-axis vector with pointer or keyboard input.\nApplications own physical units, coordinate frames, input shaping, publishing cadence, recording clocks,\ncommand-outcome feedback, and alternative controls when needed.\n\nGive each joystick an accessible name with a label, aria-label, or aria-labelledby.\nEditable controls use the application role to receive two-axis keyboard input.\nThe default accessible description includes both normalized coordinates, keyboard instructions, and release behavior.\nA locked axis stays at zero; an absent value reads \"No position.\" Disabled and read-only controls omit instructions.\nCoordinates use up to six decimal places and the document language for number formatting.\nAn explicit aria-description or aria-describedby replaces the default focus description through standard ARIA precedence;\nit does not disable live announcements.\n\n### Example\n\n```html\n<nve-joystick aria-label=\"Movement\"></nve-joystick>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/joystick/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| announce | `'polite' \\| 'off'` | Controls automatic position announcements. Focused user input produces polite announcements at most every 500 ms. A quick tap in center mode reports the input coordinates and the return to center. Escape announces the resulting coordinates without a separate cancellation message. Programmatic writes and read-only playback update the description without live announcements. Set off when the application supplies spoken output, the position description on focus remains available. |\n| composedLabel | `string` | Text content from labels associated with the control. |\n| constraint | `'circle' \\| 'square' \\| 'horizontal' \\| 'vertical'` | Constrains the movement region or selects one axis. Circle limits vector magnitude to one; square permits both axes at full scale and a magnitude of up to Math.SQRT2. With equally scaled planar velocity axes, square corners allow about 41% greater speed. Mixed forward-velocity and turning-rate axes have no common physical magnitude. Changing the constraint projects the current value silently and cancels an active interaction. |\n| defaultValue | `string` | The initial value used when the parent form resets. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| form | `HTMLFormElement \\| null` | The form associated with the control. https://mdn.dev/ElementInternals/form |\n| i18n | | Enables updating internal string values for internationalization. |\n| keyboardStep (keyboard-step) | `number` | Sets the normalized increment for each arrow key press. Repeated presses continue adjusting; releasing the final arrow applies the release behavior. Escape cancels the interaction. Invalid steps fall back to 0.1. Modifier shortcuts and locked-axis directions remain available to the browser. |\n| labels | `NodeList` | Labels associated with the control. https://mdn.dev/ElementInternals/labels |\n| max | `number \\| null` | Defines the maximum numeric value. https://mdn.dev/HTML/Attributes/max |\n| maxLength (maxlength) | `number` | Defines the maximum text length. https://mdn.dev/HTML/Attributes/maxlength |\n| min | `number \\| null` | Defines the minimum numeric value. https://mdn.dev/HTML/Attributes/min |\n| minLength (minlength) | `number` | Defines the minimum text length. https://mdn.dev/HTML/Attributes/minlength |\n| name | `string` | The name submitted with the control value as part of the form data. https://mdn.dev/HTML/Attributes/name |\n| noValidate (novalidate) | `boolean` | Disables constraint validation for this control. https://mdn.dev/HTML/Attributes/novalidate |\n| opacity | `boolean` | Enables background transparency using the --opacity CSS custom property. |\n| pattern | `string` | Defines the pattern that text values must match. https://mdn.dev/HTML/Attributes/pattern |\n| readOnly (readonly) | `boolean` | Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://mdn.dev/HTML/Attributes/readonly) - `true` The element has a readonly state: the user cannot change its value, but can still focus and copy it. - `false` The element allows editing and the user can change its value through interaction. |\n| release | `'center' \\| 'hold'` | Determines whether normal release returns to center or holds the final vector. Interrupted interactions return to neutral in either mode. Form reset restores the declared default instead. |\n| required | `boolean` | Requires a value before the parent form can submit. https://mdn.dev/HTML/Attributes/required |\n| size | `'sm' \\| 'md' \\| 'lg'` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n| step | `number \\| null` | Defines the value granularity for numeric inputs. https://mdn.dev/HTML/Attributes/step |\n| type | `string` | The control type. |\n| validationMessage | `string` | The validation message shown when the control is invalid. https://mdn.dev/ElementInternals/validationMessage |\n| validity | `ValidityState` | The control validity state. https://mdn.dev/ElementInternals/validity |\n| value | property: `JoystickValue \\| undefined`; attribute: `string` | The normalized vector: positive x points right and positive y points down, independent of text direction. Assign a complete finite object within the selected constraint. Invalid vectors throw TypeError without replacing the previous value. Programmatic writes do not dispatch input or change events. Use undefined for an absent sample and a zero vector for recorded neutral input. Set readOnly before assigning replay ownership. User input can replace external writes during an interaction. |\n| valueAsNumber | `number` | The current value parsed as a number. |\n| valueAsString | `string` | The current value serialized as a string. |\n| willValidate | `boolean` | Indicates whether the control participates in constraint validation. https://mdn.dev/ElementInternals/willValidate |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| change | `CustomEvent` | Dispatched after a normal interaction completes and produces input. Cancellation sends any necessary neutral input without change. |\n| input | `CustomEvent` | Dispatched after user input changes the vector, including a return to neutral. Read .value for the current vector. A held position does not generate repeated events. Publish commands at an application-controlled cadence. |\n| interaction-end | `CustomEvent` | Dispatched with the source and terminal reason after clearing :state(active). Interruption first sends any necessary neutral input. Reset restores the declared default without value events. Detached events cannot bubble to former ancestors. |\n| interaction-start | `CustomEvent` | Dispatched with the pointer or keyboard source after setting :state(active), including engagement at neutral. |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| checkValidity | `checkValidity(): boolean` | Checks whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/checkValidity |\n| formStateRestoreCallback | `formStateRestoreCallback(state: unknown, _reason?: string): unknown` | |\n| reportValidity | `reportValidity(): boolean` | Reports whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/reportValidity |\n| reset | `reset(): unknown` | Resets the control value to its initial value. |\n| setCustomValidity | `setCustomValidity(message: string): void` | Sets a custom validation message. https://mdn.dev/HTMLInputElement/setCustomValidity |\n| updateValue | `updateValue(value: JoystickValue): unknown` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --opacity | `string` | Background opacity when the opacity flag is present. Defaults to 0.6. The border, crosshair, thumb, and focus indicator keep their opacity. [MDN](https://mdn.dev/CSS/opacity) |\n| --thumb-background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --thumb-border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --thumb-height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --thumb-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
31859
|
+
}
|
|
31860
|
+
}
|
|
31861
|
+
],
|
|
31862
|
+
"exports": [
|
|
31863
|
+
{
|
|
31864
|
+
"kind": "js",
|
|
31865
|
+
"name": "Joystick",
|
|
31866
|
+
"declaration": {
|
|
31867
|
+
"name": "Joystick",
|
|
31868
|
+
"module": "/src/joystick/joystick.js"
|
|
31869
|
+
}
|
|
31870
|
+
}
|
|
31871
|
+
]
|
|
31872
|
+
},
|
|
30684
31873
|
{
|
|
30685
31874
|
"kind": "javascript-module",
|
|
30686
31875
|
"path": "/src/logo/define.js",
|