primevue-mirror/api-generator/components/tristatecheckbox.js

53 lines
1.5 KiB
JavaScript
Raw Normal View History

2021-05-12 09:35:29 +00:00
const TriStateCheckboxProps = [
{
name: "modelValue",
type: "boolean",
default: "null",
description: "Value of the component."
2021-06-14 14:03:46 +00:00
},
{
2022-08-08 14:02:07 +00:00
name: "disabled",
type: "boolean",
default: "false",
description: "When present, it specifies that the component should be disabled."
},
{
name: "tabindex",
type: "string",
default: "null",
description: "Index of the element in tabbing order."
},
{
name: "inputId",
2021-06-14 14:03:46 +00:00
type: "string",
default: "null",
2022-08-08 14:02:07 +00:00
description: "Identifier of the underlying input element."
2021-06-14 14:03:46 +00:00
},
{
2022-08-08 14:02:07 +00:00
name: "inputProps",
type: "object",
2021-06-14 14:03:46 +00:00
default: "null",
2022-08-08 14:02:07 +00:00
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
name: "aria-labelledby",
type: "string",
default: "null",
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
name: "aria-label",
type: "string",
default: "null",
description: "Used to define a string that labels the element."
2021-05-12 09:35:29 +00:00
}
];
module.exports = {
tristatecheckbox: {
name: "TriStateCheckbox",
description: 'TriStateCheckbox is used to select either "true", "false" or "null" as the value.',
props: TriStateCheckboxProps
}
};