primevue-mirror/doc/common/apidoc/index.json

24901 lines
1.1 MiB
JSON
Raw Normal View History

2023-02-28 08:29:30 +00:00
{
"accordion": {
"description": "Accordion groups a collection of contents in tabs.\n\n[Live Demo](https://www.primevue.org/accordion/)",
2023-02-28 12:10:08 +00:00
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 12:10:08 +00:00
"description": "Accordion groups a collection of contents in tabs.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"AccordionClickEvent": {
"description": "Custom tab open event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AccordionEmits.tab-open",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Opened tab index."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "MouseEvent",
"default": "",
"description": "Browser mouse event."
}
],
"methods": [],
"extendedTypes": "AccordionTabOpenEvent"
},
"AccordionEmits": {
2023-02-28 12:10:08 +00:00
"description": "Defines valid emits in Accordion component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": [
{
"name": "tab-click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AccordionClickEvent",
"description": "Custom tab click event."
}
],
"returnType": "void",
"description": "Callback to invoke when an active tab is clicked."
},
{
"name": "tab-close",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AccordionTabCloseEvent",
"description": "Custom tab close event."
}
],
"returnType": "void",
"description": "Callback to invoke when an active tab is collapsed by clicking on the header."
},
{
"name": "tab-open",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AccordionTabOpenEvent",
"description": "Custom tab open event."
}
],
"returnType": "void",
"description": "Callback to invoke when a tab gets expanded."
},
{
"name": "update:activeIndex",
"parameters": [
{
"name": "value",
"optional": false,
"type": "undefined | number",
"description": "Index of new active tab."
}
],
"returnType": "void",
"description": "Emitted when the active tab changes."
}
]
},
"AccordionProps": {
2023-02-28 12:10:08 +00:00
"description": "Defines valid properties in Accordion component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "activeIndex",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "null | number | number[]",
2023-02-28 08:29:30 +00:00
"default": "null",
"description": "Index of the active tab or an array of indexes in multiple mode."
},
{
"name": "collapseIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-down",
2023-02-28 08:29:30 +00:00
"description": "Icon of an expanded tab."
},
{
"name": "expandIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-right",
2023-02-28 08:29:30 +00:00
"description": "Icon of a collapsed tab."
},
{
"name": "lazy",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
},
{
"name": "multiple",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "When enabled, multiple tabs can be activated at the same time."
},
{
"name": "selectOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "When enabled, the focused tab is activated."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "number",
"default": "0",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"AccordionSlots": {
"description": "Defines valid slots in Accordion slots.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "default",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default slot to detect AccordionTab components."
}
]
},
2023-02-28 08:29:30 +00:00
"AccordionTabCloseEvent": {
"description": "Custom tab close event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AccordionEmits.tab-close",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Opened tab index."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "MouseEvent",
"default": "",
"description": "Browser mouse event."
}
],
"methods": [],
"extendedTypes": "AccordionTabOpenEvent"
},
"AccordionTabOpenEvent": {
"description": "Custom tab open event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AccordionEmits.tab-open",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Opened tab index."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "MouseEvent",
"default": "",
"description": "Browser mouse event."
}
],
"methods": [],
"extendedBy": "AccordionTabCloseEvent,AccordionClickEvent"
}
}
}
},
"accordiontab": {
2023-02-28 15:50:01 +00:00
"description": "AccordionTab is a helper component for Accordion.\n\n[Live Demo](https://www.primevue.org/accordion/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 15:50:01 +00:00
"description": "AccordionTab is a helper component for Accordion..",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"AccordionTabEmits": {
2023-02-28 15:50:01 +00:00
"description": "Defines valid emits in AcordionTab component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
},
"AccordionTabProps": {
"description": "Defines valid properties in AccordionTab component.",
"relatedProp": "",
"props": [
{
"name": "contentClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the tab content."
},
{
"name": "contentProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the tab content."
},
{
"name": "contentStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the tab content."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 15:50:01 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the tab is disabled."
},
{
"name": "header",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Orientation of tab headers."
},
{
"name": "headerActionProps",
"optional": true,
"readonly": false,
"type": "AnchorHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header."
},
{
"name": "headerClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the tab header."
},
{
"name": "headerProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the tab header."
},
{
"name": "headerStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the tab header."
}
],
"methods": []
},
"AccordionTabSlots": {
2023-02-28 15:50:01 +00:00
"description": "Defines valid slots in AcordionTab slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": [
{
"name": "default",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default slot for content."
},
{
"name": "header",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for the title section of a panel is defined using the header template."
}
]
}
}
}
},
"api/Api": {
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"FilterMatchModeOptions": {
"relatedProp": "",
"props": [
{
"name": "BETWEEN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CONTAINS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DATE_AFTER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DATE_BEFORE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DATE_IS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DATE_IS_NOT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ENDS_WITH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EQUALS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "GREATER_THAN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "GREATER_THAN_OR_EQUAL_TO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "IN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LESS_THAN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LESS_THAN_OR_EQUAL_TO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "NOT_CONTAINS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "NOT_EQUALS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STARTS_WITH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
}
],
"methods": []
},
"FilterOperatorOptions": {
"relatedProp": "",
"props": [
{
"name": "AND",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "OR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
}
],
"methods": []
},
"PrimeIconsOptions": {
"relatedProp": "",
"props": [
{
"name": "ALIGN_CENTER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ALIGN_JUSTIFY",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ALIGN_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ALIGN_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "AMAZON",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANDROID",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_DOUBLE_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_DOUBLE_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_DOUBLE_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_DOUBLE_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ANGLE_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "APPLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_A",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_CIRCLE_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_CIRCLE_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_CIRCLE_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_CIRCLE_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_DOWN_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_DOWN_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_H",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_RIGHT_ARROW_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_UP_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_UP_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ARROW_V",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "AT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BACKWARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BAN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BARS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BELL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BITCOIN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BOLT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BOOK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BOOKMARK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BOOKMARK_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BOX",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BRIEFCASE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "BUILDING",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CALCULATOR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CALENDAR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CALENDAR_MINUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CALENDAR_PLUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CALENDAR_TIMES",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CAMERA",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CAR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CARET_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CARET_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CARET_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CARET_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CART_PLUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHART_BAR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHART_LINE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHART_PIE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHECK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHECK_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHECK_SQUARE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_CIRCLE_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_CIRCLE_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_CIRCLE_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_CIRCLE_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_LEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_RIGHT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CHEVRON_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CIRCLE_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CLOCK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CLONE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CLOUD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CLOUD_DOWNLOAD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CLOUD_UPLOAD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CODE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "COG",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "COMMENT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "COMMENTS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "COMPASS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "COPY",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "CREDIT_CARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DATABASE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DELETELEFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DESKTOP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DIRECTIONS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DIRECTIONS_ALT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DISCORD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DOLLAR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "DOWNLOAD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EJECT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ELLIPSIS_H",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ELLIPSIS_V",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ENVELOPE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ERASER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EURO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EXCLAMATION_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EXCLAMATION_TRIANGLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EXTERNAL_LINK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EYE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "EYE_SLASH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FACEBOOK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FAST_BACKWARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FAST_FORWARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILE_EDIT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILE_EXCEL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILE_EXPORT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILE_IMPORT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILE_PDF",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILE_WORD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILTER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILTER_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FILTER_SLASH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FLAG",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FLAG_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FOLDER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FOLDER_OPEN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "FORWARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "GIFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "GITHUB",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "GLOBE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "GOOGLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "HASHTAG",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "HEART",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "HEART_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "HISTORY",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "HOME",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "HOURGLASS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "ID_CARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "IMAGE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "IMAGES",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "INBOX",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "INFO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "INFO_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "INSTAGRAM",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "KEY",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LANGUAGE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LINK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LINKEDIN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LIST",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LOCK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "LOCK_OPEN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MAP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MAP_MARKER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MEGAPHONE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MICREPHONE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MICROSOFT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MINUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MINUS_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MOBILE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MONEY_BILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "MOON",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PALETTE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PAPERCLIP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PAUSE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PAYPAL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PENCIL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PERCENTAGE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PHONE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PLAY",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PLUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PLUS_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "POUND",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "POWER_OFF",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PRIME",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "PRINT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "QRCODE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "QUESTION",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "QUESTION_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "REDDIT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "REFRESH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "REPLAY",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "REPLY",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SAVE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SEARCH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SEARCH_MINUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SEARCH_PLUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SEND",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SERVER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SHARE_ALT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SHIELD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SHOPPING_BAG",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SHOPPING_CART",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SIGN_IN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SIGN_OUT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SITEMAP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SLACK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SLIDERS_H",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SLIDERS_V",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_ALPHA_ALT_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_ALPHA_ALT_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_ALPHA_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_ALPHA_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_ALT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_ALT_SLASH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_AMOUNT_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_AMOUNT_DOWN_ALT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_AMOUNT_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_AMOUNT_UP_ALT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_NUMERIC_ALT_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_NUMERIC_ALT_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_NUMERIC_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_NUMERIC_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SORT_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SPINNER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STAR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STAR_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STEP_BACKWARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STEP_BACKWARD_ALT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STEP_FORWARD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STEP_FORWARD_ALT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STOP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STOPWATCH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "STOP_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SUN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SYNC",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TABLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TABLET",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TAG",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TAGS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TELEGRAM",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "THUMBS_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "THUMBS_DOWN_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "THUMBS_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "THUMBS_UP_FILL",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TH_LARGE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TICKET",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TIMES",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TIMES_CIRCLE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TRASH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TRUCK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "TWITTER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "UNDO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "UNLOCK",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "UPLOAD",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "USER",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "USERS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "USER_EDIT",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "USER_MINUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "USER_PLUS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "VERIFIED",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "VIDEO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "VIMEO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "VOLUME_DOWN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "VOLUME_OFF",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "VOLUME_UP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "WALLET",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "WHATSAPP",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "WIFI",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "WINDOW_MAXIMIZE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "WINDOW_MINIMIZE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "WRENCH",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "YOUTUBE",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
}
],
"methods": []
},
"ToastSeverityOptions": {
"relatedProp": "",
"props": [
{
"name": "ERROR",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "INFO",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "SUCCESS",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
},
{
"name": "WARN",
"optional": false,
"readonly": true,
"type": "string",
"default": ""
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"autocomplete": {
"description": "AutoComplete is an input component that provides real-time suggestions while being typed.\n\n[Live Demo](https://www.primevue.org/autocomplete/)",
"components": {
"default": {
"description": "AutoComplete is an input component that provides real-time suggestions while being typed.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"AutoCompleteChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AutoCompleteEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected option value"
}
],
"methods": []
},
"AutoCompleteCompleteEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom complete event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AutoCompleteEmits.complete",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "query",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Value to search with"
}
],
"methods": []
},
"AutoCompleteDropdownClickEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom dropdown click event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AutoCompleteEmits['dropdown-click']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "MouseEvent",
"default": "",
"description": "Browser mouse event"
},
{
"name": "query",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Current value of the input field"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"AutoCompleteEmits": {
"description": "Defines valid emits in AutoComplete component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
{
"name": "before-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is hidden."
},
{
"name": "before-show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is shown."
},
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AutoCompleteChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "clear",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when input is cleared by the user."
},
{
"name": "complete",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AutoCompleteCompleteEvent",
"description": "Custom complete event."
}
],
"returnType": "void",
"description": "Callback to invoke to search for suggestions."
},
{
"name": "dropdown-click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AutoCompleteDropdownClickEvent",
"description": "Custom dropdown click event."
}
],
"returnType": "void",
"description": "Callback to invoke to when dropdown button is clicked."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is hidden."
},
{
"name": "item-select",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AutoCompleteItemSelectEvent",
"description": "Custom item select event."
}
],
"returnType": "void",
"description": "Callback to invoke when a suggestion is selected."
},
{
"name": "item-unselect",
"parameters": [
{
"name": "event",
"optional": false,
"type": "AutoCompleteItemUnselectEvent",
"description": "Custom item unselect event."
}
],
"returnType": "void",
"description": "Callback to invoke when a selected value is removed."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is shown."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"AutoCompleteItemSelectEvent": {
"description": "Custom item select event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AutoCompleteEmits['item-select']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected item"
}
],
"methods": [],
"extendedBy": "AutoCompleteItemUnselectEvent"
},
"AutoCompleteItemUnselectEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom item unselect event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "AutoCompleteEmits['item-unselect']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected item"
}
],
"methods": [],
"extendedTypes": "AutoCompleteItemSelectEvent"
},
"AutoCompleteProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in AutoComplete component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached.\nSpecial keywords are 'body' for document body and 'self' for the element itself."
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "autoHighlight",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": ""
},
{
"name": "autoOptionFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to focus on the first visible or selected element when the overlay panel is shown."
2023-02-28 08:29:30 +00:00
},
{
"name": "completeOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to run a query when input receives focus."
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "A property to uniquely identify an option."
},
{
"name": "delay",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "300",
"description": "Delay between keystrokes to wait before sending a query."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "dropdown",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Displays a button next to the input field when enabled."
},
{
"name": "dropdownClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the dropdown button."
},
{
"name": "dropdownIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-chevron-down",
"description": "Icon to display in the dropdown."
2023-02-28 08:29:30 +00:00
},
{
"name": "dropdownMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"blank\" | \"current\"",
2023-03-08 11:02:08 +00:00
"default": "blank",
2023-02-28 08:29:30 +00:00
"description": "Specifies the behavior dropdown button. Default 'blank' mode sends an empty string and 'current' mode sends the input value."
},
{
"name": "emptySearchMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found",
2023-03-02 18:54:13 +00:00
"description": "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptySelectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No selected item",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "field",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": ""
},
{
"name": "forceSelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-spinner pi-spin",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in loading state."
2023-02-28 08:29:30 +00:00
},
{
"name": "minLength",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
"description": "Minimum number of characters to initiate a search."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "multiple",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Specifies if multiple values can be selected."
},
{
"name": "optionDisabled",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
{
"name": "optionGroupChildren",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function that refers to the children options of option group."
},
{
"name": "optionGroupLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option group."
},
{
"name": "optionLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option."
},
{
"name": "panelClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "panelProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
},
{
"name": "panelStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the overlay panel."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Default text to display when no option is selected."
},
{
"name": "removeTokenIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times-circle",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in chip remove action."
2023-02-28 08:29:30 +00:00
},
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "200px",
2023-03-02 18:54:13 +00:00
"description": "Maximum height of the suggestions panel."
2023-02-28 08:29:30 +00:00
},
{
"name": "searchLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in searching. The default locale is the host environment's current locale."
},
{
"name": "searchMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} results are available'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "When enabled, the focused option is selected."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} items selected'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "suggestions",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of suggestions to display."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
},
{
"name": "virtualScrollerOptions",
"optional": true,
"readonly": false,
"type": "VirtualScrollerProps",
"default": "",
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
}
],
"methods": []
},
"AutoCompleteSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in AutoComplete component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "chip",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>value</b>: any, // A value in the selection\n }",
2023-03-02 18:54:13 +00:00
"description": "chip slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom chip template."
2023-02-28 08:29:30 +00:00
},
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
2023-03-02 18:54:13 +00:00
"description": "content slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom panel template."
2023-02-28 08:29:30 +00:00
},
{
"name": "empty",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template when there is no data to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>suggestions</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template of panel."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>suggestions</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template of panel."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>item</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": ""
2023-02-28 08:29:30 +00:00
},
{
"name": "loader",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Options of the loader items for virtualscroller\n }",
2023-03-02 18:54:13 +00:00
"description": "loader slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom loader template."
},
{
"name": "option",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom option template."
2023-02-28 08:29:30 +00:00
},
{
"name": "optiongroup",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>item</b>: any, // undefined\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option group slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom option group template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"avatar": {
"description": "Avatar represents people using icons, labels and images.\n\n- [Live Demo](https://primevue.org/avatar)",
"components": {
"default": {
"description": "Avatar represents people using icons, labels and images.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"AvatarEmits": {
"description": "Defines valid emits in Avatar component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "error",
"parameters": [],
"returnType": "void",
"description": "Triggered when an error occurs while loading an image file."
}
]
},
2023-02-28 08:29:30 +00:00
"AvatarProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Avatar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines the icon to display."
},
{
"name": "image",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines the image to display."
},
{
"name": "label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines the text to display."
},
{
"name": "shape",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"square\" | \"circle\"",
2023-03-08 11:02:08 +00:00
"default": "square",
2023-03-02 18:54:13 +00:00
"description": "Shape of the element."
2023-02-28 08:29:30 +00:00
},
{
"name": "size",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"normal\" | \"large\" | \"xlarge\"",
2023-03-08 11:02:08 +00:00
"default": "normal",
2023-03-02 18:54:13 +00:00
"description": "Size of the element."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"AvatarSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Avatar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Content can easily be customized with the default slot instead of using the built-in modes."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"avatargroup": {
"description": "AvatarGroup is a helper component for Avatar.\n\n[Live Demo](https://www.primevue.org/accordion/)",
"components": {
"default": {
"description": "A set of Avatars can be displayed together using the AvatarGroup component.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"AvatarGroupEmits": {
"description": "Defines valid emits in AvatarGroup component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"AvatarGroupProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in AvatarGroup component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
},
"AvatarGroupSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in AvatarGroup component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"badge": {
"description": "Badge represents people using icons, labels and images.\n\n[Live Demo](https://www.primevue.org/badge)",
"components": {
"default": {
"description": "Badge represents people using icons, labels and images.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"BadgeEmits": {
"description": "Defines valid emits in Badge component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"BadgeProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Badge component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "severity",
"optional": true,
"readonly": false,
2023-03-07 13:37:45 +00:00
"type": "null | \"success\" | \"info\" | \"warning\" | \"danger\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Severity type of the badge."
},
{
"name": "size",
"optional": true,
"readonly": false,
2023-03-07 13:37:45 +00:00
"type": "null | \"large\" | \"xlarge\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Size of the badge, valid options are 'large' and 'xlarge'."
},
{
"name": "value",
"optional": true,
"readonly": false,
2023-03-07 13:37:45 +00:00
"type": "string | number",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Value to display inside the badge."
}
],
"methods": []
},
"BadgeSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Badge component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Content can easily be customized with the default slot instead of using the built-in display."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
2023-03-02 18:54:13 +00:00
}
},
"badgedirective": {
2023-03-06 10:59:56 +00:00
"description": "Badge directive is a small status indicator for another element.\n\n[Live Demo](https://primevue.org/badge)",
2023-03-02 18:54:13 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
2023-02-28 08:29:30 +00:00
"values": {
2023-03-02 18:54:13 +00:00
"BadgeDirectiveBinding": {
"description": "Binding of Badge directive.",
"relatedProp": "",
"props": [
{
"name": "modifiers",
"optional": true,
"readonly": false,
"type": "BadgeDirectiveModifiers",
"default": "",
"description": "Modifiers of the Badge."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Value of the Badge."
}
],
"methods": [],
"extendedTypes": "Omit<DirectiveBinding, \"modifiers\" | \"value\">"
},
"BadgeDirectiveModifiers": {
"description": "Defines modifiers of Badge directive.",
"relatedProp": "",
"props": [
{
"name": "danger",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Danger severity for Badge directive."
},
{
"name": "info",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "true",
"description": "Info severity for Badge directive."
},
{
"name": "success",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Success severity for Badge directive."
},
{
"name": "warning",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Warning severity for Badge directive."
}
],
"methods": []
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"blockui": {
"description": "BlockUI represents people using icons, labels and images.\n\n[Live Demo](https://www.primevue.org/blockui)",
"components": {
"default": {
"description": "BlockUI represents people using icons, labels and images.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"BlockUIEmits": {
"description": "Defines valid emits in BlockUI component",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "block",
"parameters": [],
"returnType": "void",
"description": "Fired when the element gets blocked."
},
{
"name": "unblock",
"parameters": [],
"returnType": "void",
"description": "Fired when the element gets unblocked."
}
]
},
2023-02-28 08:29:30 +00:00
"BlockUIProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in BlockUI component",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "blocked",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Controls the blocked state."
},
{
"name": "fullScreen",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When enabled, the whole document gets blocked."
}
],
"methods": []
},
"BlockUISlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in BlockUI component",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content's slot."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"breadcrumb": {
"description": "Breadcrumb provides contextual information about page hierarchy.\n\n[Live Demo](https://www.primevue.org/breadcrumb/)",
"components": {
"default": {
"description": "Breadcrumb provides contextual information about page hierarchy.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"BreadcrumbEmits": {
"description": "Defines valid emits in Breadcrumb component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"BreadcrumbProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Breadcrumb component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying menu element."
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "home",
"optional": true,
"readonly": false,
"type": "MenuItem",
"default": "",
"description": "Configuration for the home icon."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
}
],
"methods": []
},
"BreadcrumbSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Breadcrumb component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
}
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"button": {
"description": "Button is an extension to standard button element with icons and theming.\n\n[Live Demo](https://www.primevue.org/button/)",
"components": {
"default": {
"description": "Button is an extension to standard button element with icons and theming.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ButtonEmits": {
"description": "Defines valid emits in Button component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ButtonProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Button component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "badge",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Value of the badge."
},
{
"name": "badgeClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the badge."
},
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the button."
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the icon."
},
{
"name": "iconClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the icon."
},
{
"name": "iconPos",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"left\" | \"top\" | \"bottom\" | \"right\"",
2023-03-08 08:28:08 +00:00
"default": "left",
2023-03-02 18:54:13 +00:00
"description": "Position of the icon."
2023-02-28 08:29:30 +00:00
},
{
"name": "label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text of the button."
},
2023-03-03 07:04:07 +00:00
{
"name": "link",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a link style to the button."
},
2023-02-28 08:29:30 +00:00
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the button is in loading state."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-spinner pi-spin",
"description": "Icon to display in loading state."
2023-02-28 08:29:30 +00:00
},
2023-03-03 07:04:07 +00:00
{
"name": "outlined",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a border class without a background initially."
},
2023-03-06 10:59:56 +00:00
{
"name": "plain",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a plain textual class to the button without a background initially."
},
2023-03-03 07:04:07 +00:00
{
"name": "raised",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a shadow to indicate elevation."
},
{
"name": "rounded",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a circular border radius to the button."
},
{
"name": "severity",
"optional": true,
"readonly": false,
2023-03-06 10:59:56 +00:00
"type": "\"success\" | \"help\" | \"info\" | \"warning\" | \"danger\" | \"secondary\"",
2023-03-03 07:04:07 +00:00
"default": "",
"description": "Defines the style of the button."
},
{
"name": "size",
"optional": true,
"readonly": false,
"type": "\"small\" | \"large\"",
"default": "",
"description": "Defines the size of the button."
},
2023-02-28 08:29:30 +00:00
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the button."
2023-03-03 07:04:07 +00:00
},
{
"name": "text",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a textual class to the button without a background initially."
2023-02-28 08:29:30 +00:00
}
],
"methods": [],
"extendedTypes": "ButtonHTMLAttributes"
},
"ButtonSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Button component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content such as icons, images and text can be placed inside the button via the default slot. Note that when slot is used, label, icon and badge properties are not included."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-01 06:38:59 +00:00
"calendar": {
"description": "Calendar also known as DatePicker, is a form component to work with dates.\n\n[Live Demo](https://www.primevue.org/calendar/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-03-01 06:38:59 +00:00
"description": "Calendar also known as DatePicker, is a form component to work with dates.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"CalendarBlurEvent": {
2023-03-01 06:38:59 +00:00
"description": "Custom Calendar blur event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "CalendarEmits.blur",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Input value"
}
],
"methods": []
},
2023-03-01 06:38:59 +00:00
"CalendarEmits": {
"description": "Defines valid emits in Calendar component.",
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-03-01 06:38:59 +00:00
{
"name": "blur",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "event",
"optional": false,
"type": "CalendarBlurEvent",
"description": "Blur event"
}
],
"returnType": "void",
"description": "Callback to invoke on blur of input field."
2023-03-01 06:38:59 +00:00
},
{
"name": "clear-click",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when clear button is clicked."
2023-03-01 06:38:59 +00:00
},
{
"name": "date-select",
"parameters": [
{
"name": "value",
"optional": false,
"type": "Date",
"description": "Selected value."
}
],
"returnType": "void",
"description": "Callback to invoke when a date is selected."
},
2023-03-02 18:54:13 +00:00
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Focus event"
}
],
"returnType": "void",
"description": "Callback to invoke on focus of input field."
},
2023-03-01 06:38:59 +00:00
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when datepicker panel is hidden."
},
{
"name": "input",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event"
}
],
"returnType": "void",
"description": "Callback to invoke when input field is being typed."
},
2023-03-02 18:54:13 +00:00
{
"name": "keydown",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event"
}
],
"returnType": "void",
"description": "Callback to invoke when a key is pressed."
},
{
"name": "month-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "CalendarMonthChangeEvent",
"description": "Custom month change event."
}
],
"returnType": "void",
"description": "Callback to invoke when a month is changed using the navigators."
},
2023-03-01 06:38:59 +00:00
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when datepicker panel is shown."
},
2023-03-02 18:54:13 +00:00
{
"name": "today-click",
"parameters": [
{
"name": "date",
"optional": false,
"type": "Date",
"description": "Today as a date instance."
}
],
"returnType": "void",
"description": "Callback to invoke when today button is clicked."
},
2023-03-01 06:38:59 +00:00
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "undefined | string | string[] | Date | Date[]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
2023-03-02 18:54:13 +00:00
},
{
"name": "year-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "CalendarYearChangeEvent",
"description": "Custom year change event."
}
],
"returnType": "void",
"description": "Callback to invoke when a year is changed using the navigators."
2023-03-01 06:38:59 +00:00
}
]
},
2023-02-28 08:29:30 +00:00
"CalendarMonthChangeEvent": {
2023-03-01 06:38:59 +00:00
"description": "Custom Calendar month change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "CalendarEmits['month-change']]",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "month",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New month."
},
{
"name": "year",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New year."
}
],
"methods": []
},
"CalendarProps": {
2023-03-01 06:38:59 +00:00
"description": "Defines valid properties in Calendar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-01 06:00:39 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-03-01 06:00:39 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
2023-02-28 08:29:30 +00:00
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-01 06:38:59 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "dateFormat",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Format of the date. Defaults to PrimeVue Locale configuration."
},
{
"name": "decrementIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-down",
2023-03-01 06:38:59 +00:00
"description": "Icon to show in each of the decrement buttons."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "disabledDates",
"optional": true,
"readonly": false,
"type": "Date[]",
"default": "",
"description": "Array with dates to disable."
},
{
"name": "disabledDays",
"optional": true,
"readonly": false,
"type": "number[]",
"default": "",
"description": "Array with disabled weekday numbers."
},
{
"name": "hideOnDateTimeSelect",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to hide the overlay on date selection when showTime is enabled."
},
{
"name": "hideOnRangeSelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to hide the overlay on date selection is completed when selectionMode is range."
},
{
"name": "hourFormat",
"optional": true,
"readonly": false,
2023-03-01 06:00:39 +00:00
"type": "\"12\" | \"24\"",
2023-03-01 06:38:59 +00:00
"default": "24",
2023-03-01 06:00:39 +00:00
"description": "Specifies hour format."
2023-02-28 08:29:30 +00:00
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-calendar",
2023-03-01 06:38:59 +00:00
"description": "Icon of the calendar button."
2023-02-28 08:29:30 +00:00
},
{
"name": "id",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the element."
},
{
"name": "incrementIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-up",
2023-03-01 06:38:59 +00:00
"description": "Icon to show in each of the increment buttons."
2023-02-28 08:29:30 +00:00
},
{
"name": "inline",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, displays the calendar as inline instead of an overlay."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "manualInput",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "true",
"description": "Wheter to allow prevents entering the date manually via typing."
2023-02-28 08:29:30 +00:00
},
{
"name": "maxDate",
"optional": true,
"readonly": false,
"type": "Date",
"default": "",
"description": "The maximum selectable date."
},
{
"name": "maxDateCount",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Maximum number of selectable dates in multiple mode."
},
{
"name": "minDate",
"optional": true,
"readonly": false,
"type": "Date",
"default": "",
"description": "The minimum selectable date."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
2023-03-01 06:00:39 +00:00
"type": "null | string | string[] | Date | Date[]",
"default": "null",
2023-02-28 08:29:30 +00:00
"description": "Value of the component."
},
{
"name": "monthNavigator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the month should be rendered as a dropdown instead of text."
},
{
"name": "nextIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-right",
2023-03-01 06:38:59 +00:00
"description": "Icon to show in the next button."
2023-02-28 08:29:30 +00:00
},
{
"name": "numberOfMonths",
"optional": true,
"readonly": false,
"type": "number",
2023-03-01 06:38:59 +00:00
"default": "1",
"description": "Number of months to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "panelClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "panelProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
},
{
"name": "panelStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the overlay panel."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text for the input."
},
{
"name": "previousIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-left",
2023-03-01 06:38:59 +00:00
"description": "Icon to show in the previous button."
2023-02-28 08:29:30 +00:00
},
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that an input field is read-only."
},
{
"name": "responsiveOptions",
"optional": true,
"readonly": false,
"type": "CalendarResponsiveOptions[]",
"default": "",
"description": "An array of options for responsive design."
},
{
"name": "selectOtherMonths",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true."
},
{
"name": "selectionMode",
"optional": true,
"readonly": false,
2023-03-01 06:00:39 +00:00
"type": "\"multiple\" | \"range\" | \"single\"",
"default": "single",
"description": "Defines the quantity of the selection."
2023-02-28 08:29:30 +00:00
},
{
"name": "shortYearCutoff",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "+10",
2023-03-01 06:38:59 +00:00
"description": "The cutoff year for determining the century for a date."
2023-02-28 08:29:30 +00:00
},
{
"name": "showButtonBar",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display today and clear buttons at the footer."
},
{
"name": "showIcon",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, displays a button with icon next to input."
},
{
"name": "showOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "true",
"description": "When disabled, datepicker will not be visible with input focus."
2023-02-28 08:29:30 +00:00
},
{
"name": "showOtherMonths",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "true",
"description": "Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option."
2023-02-28 08:29:30 +00:00
},
{
"name": "showSeconds",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to show the seconds in time picker."
},
{
"name": "showTime",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display timepicker."
},
{
"name": "showWeek",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, calendar will show week numbers."
},
{
"name": "stepHour",
"optional": true,
"readonly": false,
"type": "number",
2023-03-01 06:38:59 +00:00
"default": "1",
"description": "Hours to change per step."
2023-02-28 08:29:30 +00:00
},
{
"name": "stepMinute",
"optional": true,
"readonly": false,
"type": "number",
2023-03-01 06:38:59 +00:00
"default": "1",
"description": "Minutes to change per step."
2023-02-28 08:29:30 +00:00
},
{
"name": "stepSecond",
"optional": true,
"readonly": false,
"type": "number",
2023-03-01 06:38:59 +00:00
"default": "1",
"description": "Seconds to change per step."
2023-02-28 08:29:30 +00:00
},
{
"name": "timeOnly",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display timepicker only."
},
{
"name": "timeSeparator",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": ":",
2023-03-01 06:38:59 +00:00
"description": "Separator of time selector."
2023-02-28 08:29:30 +00:00
},
{
"name": "touchUI",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, calendar overlay is displayed as optimized for touch devices."
},
{
"name": "view",
"optional": true,
"readonly": false,
2023-03-01 06:00:39 +00:00
"type": "\"month\" | \"year\" | \"date\"",
2023-03-08 11:02:08 +00:00
"default": "date",
2023-03-01 06:00:39 +00:00
"description": "Type of view to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "yearNavigator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the year should be rendered as a dropdown instead of text."
},
{
"name": "yearRange",
"optional": true,
"readonly": false,
"type": "string",
2023-03-01 06:38:59 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020)."
}
],
"methods": []
},
"CalendarResponsiveOptions": {
2023-03-01 06:38:59 +00:00
"description": "Custom Calendar responsive options metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "breakpoint",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Breakpoint for responsive mode. Exp;"
},
{
"name": "numMonths",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "The number of visible months on breakpoint."
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"CalendarSlots": {
"description": "Defines valid slots in Calendar component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "date",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>date</b>: undefined, // Value of the component.\n }"
2023-03-02 18:54:13 +00:00
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom date template."
},
{
"name": "decade",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>years</b>: undefined, // An array containing the start and and year of a decade to display at header of the year picker.\n }"
2023-03-02 18:54:13 +00:00
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom decade template."
},
{
"name": "footer",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template of panel."
},
{
"name": "header",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template of panel."
}
]
},
2023-02-28 08:29:30 +00:00
"CalendarYearChangeEvent": {
2023-03-01 06:38:59 +00:00
"description": "Custom Calendar year change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "CalendarEmits['year-change']]",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "month",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New month."
},
{
"name": "year",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New year."
}
],
"methods": []
}
}
}
},
2023-02-28 14:48:13 +00:00
"card": {
"description": "Card is a flexible container component.\n\n[Live Demo](https://www.primevue.org/card/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 14:48:13 +00:00
"description": "Card is a flexible container component.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-06 10:59:56 +00:00
"CardEmits": {
"description": "Defines valid emits in Card component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"CardProps": {
2023-03-06 10:59:56 +00:00
"description": "Defines valid properties in Card component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
},
"CardSlots": {
2023-03-06 10:59:56 +00:00
"description": "Defines valid slots in Card component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-02-28 14:48:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "content",
2023-02-28 14:48:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-02-28 14:48:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-02-28 14:48:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "subtitle",
2023-02-28 14:48:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom subtitle template."
2023-02-28 08:29:30 +00:00
},
{
"name": "title",
2023-02-28 14:48:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom title template."
2023-02-28 08:29:30 +00:00
}
2023-02-28 14:48:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"carousel": {
"description": "Carousel is a content slider featuring various customization options.\n\n[Live Demo](https://www.primevue.org/carousel/)",
"components": {
"default": {
"description": "Carousel is a content slider featuring various customization options.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"CarouselEmits": {
"description": "Defines valid emits in Carousel component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "update:page",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New page value."
}
],
"returnType": "void",
"description": "Emitted when the page changes."
}
]
},
2023-02-28 08:29:30 +00:00
"CarouselProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Carousel component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "autoplayInterval",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Time in milliseconds to scroll items automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "circular",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if scrolling would be infinite."
},
{
"name": "containerClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the viewport container."
},
{
"name": "contentClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of main content."
},
{
"name": "indicatorsContentClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the indicator items."
},
{
"name": "nextButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the next navigation button."
},
{
"name": "numScroll",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
"description": "Number of items to scroll."
2023-02-28 08:29:30 +00:00
},
{
"name": "numVisible",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
"description": "Number of items per page."
2023-02-28 08:29:30 +00:00
},
{
"name": "orientation",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"horizontal\" | \"vertical\"",
"default": "horizontal",
2023-02-28 08:29:30 +00:00
"description": "Specifies the layout of the component, valid values are 'horizontal' and 'vertical'."
},
{
"name": "page",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Index of the first item."
2023-02-28 08:29:30 +00:00
},
{
"name": "prevButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the previous navigation button."
},
{
"name": "responsiveOptions",
"optional": true,
"readonly": false,
"type": "CarouselResponsiveOptions[]",
"default": "",
"description": "An array of options for responsive design."
},
{
"name": "showIndicators",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to display indicator container."
2023-02-28 08:29:30 +00:00
},
{
"name": "showNavigators",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to display navigation buttons in container."
2023-02-28 08:29:30 +00:00
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "An array of objects to display."
},
{
"name": "verticalViewPortHeight",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "300px",
2023-03-02 18:54:13 +00:00
"description": "Height of the viewport in vertical layout."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"CarouselResponsiveOptions": {
"relatedProp": "",
"props": [
{
"name": "breakpoint",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Breakpoint for responsive mode. Exp;"
},
{
"name": "numScroll",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "The number of scrolled items on breakpoint."
},
{
"name": "numVisible",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "The number of visible items on breakpoint."
}
],
"methods": []
},
"CarouselSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Carousel slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>data</b>: any, // Data of the component\n \t <b>index</b>: number, // Index of the item\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for each item."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"cascadeselect": {
"description": "CascadeSelect is a form component to select a value from a nested structure of options.\n\n[Live Demo](https://www.primevue.org/cascadeselect/)",
"components": {
"default": {
"description": "CascadeSelect is a form component to select a value from a nested structure of options.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"CascadeSelectChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event",
2023-03-07 13:37:45 +00:00
"relatedProp": "CascadeSelectEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Original event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected option value."
}
],
"methods": [],
"extendedBy": "CascadeSelectGroupChangeEvent"
},
2023-03-02 18:54:13 +00:00
"CascadeSelectEmits": {
"description": "Defines valid emits in CascadeSelect component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "before-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is hidden."
},
{
"name": "before-show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is shown."
},
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "CascadeSelectChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on click."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "group-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "CascadeSelectGroupChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke when a group changes."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is shown."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"CascadeSelectGroupChangeEvent": {
"description": "",
2023-03-07 13:37:45 +00:00
"relatedProp": "CascadeSelectEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Original event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected option value."
}
],
"methods": [],
"extendedTypes": "CascadeSelectChangeEvent"
},
"CascadeSelectProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in CascadeSelect component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "autoOptionFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to focus on the first visible or selected element when the overlay panel is shown."
2023-02-28 08:29:30 +00:00
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "A property to uniquely identify an option."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "dropdownIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-down",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the dropdown."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No available options",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed when there are no options available. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptySearchMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found",
2023-03-02 18:54:13 +00:00
"description": "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptySelectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No selected item",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the dropdown is in loading state."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-spinner pi-spin",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in loading state."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "optionDisabled",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
{
"name": "optionGroupChildren",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | string[] | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to retrieve the items of a group."
},
{
"name": "optionGroupIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-angle-right",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the option group."
2023-02-28 08:29:30 +00:00
},
{
"name": "optionGroupLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option group."
},
{
"name": "optionLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option."
},
{
"name": "optionValue",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of selectitems to display as the available options."
},
{
"name": "panelClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "panelProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
},
{
"name": "panelStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the overlay panel."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Default text to display when no option is selected."
},
{
"name": "searchLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in searching. The default locale is the host environment's current locale."
},
{
"name": "searchMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} results are available'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "When enabled, the focused option is selected/opened."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} items selected'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"CascadeSelectSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in CascadeSelect component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "indicator",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom indicator template."
2023-02-28 08:29:30 +00:00
},
{
"name": "option",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for each option."
2023-02-28 08:29:30 +00:00
},
{
"name": "value",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>placeholder</b>: string, // Placeholder text to show\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "value slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom value template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"chart": {
"description": "Chart groups a collection of contents in tabs.\n\n[Live Demo](https://www.primevue.org/chart/)",
"components": {
"default": {
"description": "Chart groups a collection of contents in tabs.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "generateLegend",
"parameters": [],
"returnType": "any",
"description": "Returns an HTML string of a legend for that chart. The legend is generated from the legendCallback in the options."
},
{
"name": "getChart",
"parameters": [],
"returnType": "any",
"description": "Returns Chart instance."
},
{
"name": "refresh",
"parameters": [],
"returnType": "void",
"description": "Redraws the graph."
},
{
"name": "reinit",
"parameters": [],
"returnType": "void",
"description": "Destroys the graph first and then creates it again."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ChartEmits": {
"description": "Defines valid emits in Chart component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "loaded",
"parameters": [
{
"name": "chart",
"optional": false,
"type": "any",
"description": "Chart instance."
}
],
"returnType": "void",
"description": "Callback to invoke when chart is loaded."
},
{
"name": "select",
"parameters": [
{
"name": "event",
"optional": false,
"type": "ChartSelectEvent",
"description": "Custom select event."
}
],
"returnType": "void",
"description": "Callback to invoke when a tab gets expanded."
}
]
},
2023-02-28 08:29:30 +00:00
"ChartProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Chart component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "canvasProps",
"optional": true,
"readonly": false,
"type": "CanvasHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the CanvasHTMLAttributes to canvas element inside the component."
},
{
"name": "data",
"optional": true,
"readonly": false,
"type": "object",
"default": "",
"description": "Data to display."
},
{
"name": "height",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "150",
"description": "Height of the chart in non-responsive mode."
2023-02-28 08:29:30 +00:00
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "object",
"default": "",
"description": "Options to customize the chart."
},
{
"name": "plugins",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Used to custom plugins of the chart."
},
{
"name": "type",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Type of the chart."
},
{
"name": "width",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "300",
"description": "Width of the chart in non-responsive mode."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"ChartSelectEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom select event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "ChartEmits.select",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "dataset",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected dataset."
},
{
"name": "element",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected element."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
}
],
"methods": []
},
"ChartSlots": {
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"checkbox": {
"description": "Checkbox is an extension to standard checkbox element with theming.\n\n[Live Demo](https://www.primevue.org/checkbox/)",
"components": {
"default": {
"description": "Accordion groups a collection of contents in tabs.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"CheckboxEmits": {
"description": "Defines valid emits in Checkbox component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "MouseEvent",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on value click."
},
{
"name": "input",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "update:page",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New page value."
}
],
"returnType": "void",
"description": "Emitted when the page changes."
}
]
},
2023-02-28 08:29:30 +00:00
"CheckboxProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Checkbox component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "binary",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Allows to select a boolean value instead of multiple values."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, it specifies that the element should be disabled."
},
{
"name": "falseValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value in unchecked state."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value binding of the checkbox."
},
{
"name": "name",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the input element."
},
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, it specifies that an input field is read-only."
},
{
"name": "required",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, it specifies that the element is required."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the element in tabbing order."
},
{
"name": "trueValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value in checked state."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the checkbox."
}
],
"methods": []
},
"CheckboxSlots": {
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"chip": {
"description": "Chip represents people using icons, labels and images.\n\n[Live Demo](https://www.primevue.org/chip)",
"components": {
"default": {
"description": "Chip represents people using icons, labels and images.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ChipEmits": {
"description": "Defines valid properties in Chip component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "remove",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when a chip is removed."
}
]
},
2023-02-28 08:29:30 +00:00
"ChipProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Chip component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines the icon to display."
},
{
"name": "image",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines the image to display."
},
{
"name": "label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines the text to display."
},
{
"name": "removable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display a remove icon."
},
{
"name": "removeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-times-circle",
"description": "Icon of the remove element."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"ChipSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Chip component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Content can easily be customized with the default slot instead of using the built-in modes."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"chips": {
"description": "Chips groups a collection of contents in tabs.\n\n[Live Demo](https://www.primevue.org/chips/)",
"components": {
"default": {
"description": "Chips is used to enter multiple values on an input field.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"ChipsAddEvent": {
2023-03-07 13:37:45 +00:00
"description": "Custom add event.",
"relatedProp": "ChipsEmits.add",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Added/Removed item value."
}
],
"methods": [],
"extendedBy": "ChipsRemoveEvent"
},
2023-03-02 18:54:13 +00:00
"ChipsEmits": {
"description": "Defines valid emits in Chips component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "add",
"parameters": [
{
"name": "event",
"optional": false,
"type": "ChipsAddEvent",
"description": "Custom add event."
}
],
"returnType": "void",
"description": "Callback to invoke when a chip is added."
},
{
"name": "remove",
"parameters": [
{
"name": "event",
"optional": false,
"type": "ChipsRemoveEvent",
"description": "Custom remove event."
}
],
"returnType": "void",
"description": "Callback to invoke when a chip is removed."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"ChipsProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Chips component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "addOnBlur",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether to add an item when the input loses focus."
},
{
"name": "allowDuplicate",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-03 08:18:55 +00:00
"default": "true.",
"description": "Whether to allow duplicate values or not."
2023-02-28 08:29:30 +00:00
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, it specifies that the element should be disabled."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the focus input to match a label defined for the chips."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "max",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Maximum number of entries allowed."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Value of the component."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text for the input."
},
{
"name": "removeTokenIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times-circle",
2023-03-03 08:18:55 +00:00
"description": "Icon to display in chip remove action."
2023-02-28 08:29:30 +00:00
},
{
"name": "separator",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Separator char to add an item when pressed in addition to the enter key."
}
],
"methods": []
},
"ChipsRemoveEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom remove event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "ChipsEmits.remove",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Added/Removed item value."
}
],
"methods": [],
"extendedTypes": "ChipsAddEvent"
},
"ChipsSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Chips slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "chip",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "chip slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom chip template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"colorpicker": {
"description": "ColorPicker groups a collection of contents in tabs.\n\n[Live Demo](https://www.primevue.org/colorpicker/)",
"components": {
"default": {
"description": "ColorPicker groups a collection of contents in tabs.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"ColorPickerChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "ColorPickerEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected color value."
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"ColorPickerEmits": {
"description": "Defines valid emits in ColorPicker component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "ColorPickerChangeEvent",
"description": "Custom add event."
}
],
"returnType": "void",
"description": "Callback to invoke when a chip is added."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when input is cleared by the user."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when input is cleared by the user."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"ColorPickerProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ColorPicker component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "defaultColor",
"optional": true,
"readonly": false,
"type": "any",
2023-03-02 18:54:13 +00:00
"default": "ff0000",
"description": "Initial color to display when value is not defined."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "format",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"rgb\" | \"hex\" | \"hsb\"",
2023-03-08 11:02:08 +00:00
"default": "hex",
2023-02-28 08:29:30 +00:00
"description": "Format to use in value binding, supported formats are 'hex', 'rgb' and 'hsb'."
},
{
"name": "inline",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display as an overlay or not."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "panelClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"ColorPickerSlots": {
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
"column": {
2023-02-28 14:20:59 +00:00
"description": "Column component defines various options to specify corresponding features.\nIt is a helper component for DataTable and TreeTable.\n\n[Live Demo](https://www.primevue.org/datatable/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 14:20:59 +00:00
"description": "Column is a helper component for DataTable and TreeTable.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"ColumnEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
"ColumnFilterMatchModeOptions": {
2023-02-28 14:48:13 +00:00
"description": "Filter match modes for specific columns.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "string"
}
],
"methods": []
},
"ColumnFilterModelType": {
2023-02-28 14:48:13 +00:00
"description": "Filter model metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "matchMode",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Match mode of filterModel."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of filterModel."
}
],
"methods": []
},
"ColumnLoadingOptions": {
2023-02-28 14:48:13 +00:00
"description": "Custom column loading metadata.",
2023-03-07 13:37:45 +00:00
"relatedProp": "",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "cellEven",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the cell is even."
},
{
"name": "cellFirst",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the cell is first."
},
{
"name": "cellIndex",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Cell index"
},
{
"name": "cellLast",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the cell is last."
},
{
"name": "cellOdd",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is odd."
},
{
"name": "column",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "default",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Column instance"
},
{
"name": "count",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Items count"
},
{
"name": "even",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is even."
},
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Column field"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is first."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Item index"
},
{
"name": "last",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is last."
},
{
"name": "odd",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is odd."
}
],
"methods": [],
"extendedTypes": "VirtualScrollerLoaderOptions"
},
"ColumnProps": {
2023-02-28 14:48:13 +00:00
"description": "Defines valid properties in Column component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "alignFrozen",
"optional": true,
"readonly": false,
2023-02-28 14:20:59 +00:00
"type": "\"left\" | \"right\"",
"default": "left",
2023-02-28 08:29:30 +00:00
"description": "Position of a frozen column, valid values are left and right."
},
{
"name": "bodyClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the column body."
},
{
"name": "bodyStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the column body."
},
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of header, body and footer cells."
},
{
"name": "colspan",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of columns to span for grouping."
},
{
"name": "columnKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of a column if field property is not defined."
},
{
"name": "dataType",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Type of data. It's value is related to PrimeVue.filterMatchModeOptions config."
},
{
"name": "excludeGlobalFilter",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether to exclude from global filtering or not."
},
{
"name": "expander",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Displays an icon to toggle row expansion."
},
{
"name": "exportFooter",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Custom export footer of the column to be exported as CSV."
},
{
"name": "exportHeader",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Custom export header of the column to be exported as CSV."
},
{
"name": "exportable",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the column is included in data export."
},
{
"name": "field",
"optional": true,
"readonly": false,
2023-02-28 14:20:59 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property represented by the column."
},
{
"name": "filterField",
"optional": true,
"readonly": false,
2023-02-28 14:20:59 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name to use in filtering, defaults to field."
},
{
"name": "filterHeaderClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the column filter header in row filter display."
},
{
"name": "filterHeaderStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the column filter header in row filter display."
},
{
"name": "filterMatchMode",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines the filtering algorithm to use when searching the options."
},
{
"name": "filterMatchModeOptions",
"optional": true,
"readonly": false,
"type": "ColumnFilterMatchModeOptions[]",
"default": "",
"description": "An array of label-value pairs to override the global match mode options."
},
{
"name": "filterMenuClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the column filter overlay."
},
{
"name": "filterMenuStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the column filter overlay."
},
{
"name": "footer",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Footer content of the column."
},
{
"name": "footerClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the column footer."
},
{
"name": "footerStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the column footer."
},
{
"name": "frozen",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the column is fixed in horizontal scrolling."
},
{
"name": "header",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Header content of the column."
},
{
"name": "headerClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the column header."
},
{
"name": "headerStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the column header."
},
{
"name": "hidden",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the column is rendered."
},
{
"name": "maxConstraints",
"optional": true,
"readonly": false,
"type": "number",
2023-02-28 14:20:59 +00:00
"default": "2",
"description": "Maximum number of constraints for a column filter."
2023-02-28 08:29:30 +00:00
},
{
"name": "reorderableColumn",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Defines if the column itself can be reordered with dragging."
},
{
"name": "rowEditor",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When enabled, column displays row editor controls."
},
{
"name": "rowReorder",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether this column displays an icon to reorder the rows."
},
{
"name": "rowReorderIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-02-28 14:20:59 +00:00
"default": "pi pi-bars",
"description": "Icon of the drag handle to reorder rows."
2023-02-28 08:29:30 +00:00
},
{
"name": "rowspan",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to span for grouping."
},
{
"name": "selectionMode",
"optional": true,
"readonly": false,
2023-02-28 14:20:59 +00:00
"type": "\"multiple\" | \"single\"",
2023-02-28 08:29:30 +00:00
"default": "",
2023-02-28 14:20:59 +00:00
"description": "Defines column based selection mode."
2023-02-28 08:29:30 +00:00
},
{
"name": "showAddButton",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 14:20:59 +00:00
"default": "true",
"description": "When enabled, a button is displayed to add more rules."
2023-02-28 08:29:30 +00:00
},
{
"name": "showApplyButton",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 14:20:59 +00:00
"default": "true",
"description": "Displays a button to apply the column filtering."
2023-02-28 08:29:30 +00:00
},
{
"name": "showClearButton",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 14:20:59 +00:00
"default": "true",
"description": "Displays a button to clear the column filtering."
2023-02-28 08:29:30 +00:00
},
{
"name": "showFilterMatchModes",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 14:20:59 +00:00
"default": "true",
"description": "Whether to show the match modes selector."
2023-02-28 08:29:30 +00:00
},
{
"name": "showFilterMenu",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 14:20:59 +00:00
"default": "true",
"description": "Whether to display the filter overlay."
2023-02-28 08:29:30 +00:00
},
{
"name": "showFilterOperator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 14:20:59 +00:00
"default": "true",
"description": "When enabled, match all and match any operator selector is displayed."
2023-02-28 08:29:30 +00:00
},
{
"name": "sortField",
"optional": true,
"readonly": false,
2023-02-28 14:20:59 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name to use in sorting, defaults to field."
},
{
"name": "sortable",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Defines if a column is sortable."
},
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of header, body and footer cells."
}
],
"methods": []
},
"ColumnSlots": {
2023-02-28 14:48:13 +00:00
"description": "Defines valid slots in Column component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": [
{
"name": "body",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>column</b>: Column, // Column node.\n \t <b>data</b>: any, // Row data.\n \t <b>field</b>: string, // Column field.\n \t <b>frozenRow</b>: boolean, // Whether the row is frozen.\n \t <b>index</b>: number, // Row index.\n \t <b>node</b>: any, // Row node data.\n \t <b>editorInitCallback()</b>: void, // Callback function\n }",
2023-02-28 08:29:30 +00:00
"description": "body slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom body template."
},
{
"name": "editor",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>column</b>: Column, // Column node.\n \t <b>data</b>: any, // Row data.\n \t <b>field</b>: string, // Column field.\n \t <b>frozenRow</b>: boolean, // Whether the row is frozen.\n \t <b>index</b>: number, // Row index.\n \t <b>editorCancelCallback()</b>: void, // Callback function\n \t <b>editorSaveCallback()</b>: void, // Callback function\n }",
2023-02-28 08:29:30 +00:00
"description": "editor slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom editor template."
},
{
"name": "filter",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
2023-02-28 08:29:30 +00:00
"description": "filter slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom filter template."
},
{
"name": "filterapply",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
2023-02-28 08:29:30 +00:00
"description": "filter apply slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom filter apply template."
},
{
"name": "filterclear",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
2023-02-28 08:29:30 +00:00
"description": "filter clear slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom filter clear template."
},
{
"name": "filterfooter",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
2023-02-28 08:29:30 +00:00
"description": "filter footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom filter footer template."
},
{
"name": "filterheader",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
2023-02-28 08:29:30 +00:00
"description": "filter header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom filter header template."
},
{
"name": "footer",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>column</b>: Column, // Column node.\n }",
2023-02-28 08:29:30 +00:00
"description": "footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
},
{
"name": "header",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>column</b>: Column, // Column node.\n }",
2023-02-28 08:29:30 +00:00
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
},
{
"name": "loading",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>column</b>: Column, // Column node.\n \t <b>data</b>: any, // Row data.\n \t <b>field</b>: string, // Column field.\n \t <b>frozenRow</b>: boolean, // Whether the row is frozen.\n \t <b>index</b>: number, // Row index.\n \t <b>loadingOptions</b>: ColumnLoadingOptions, // Loading options.\n }",
2023-02-28 08:29:30 +00:00
"description": "loading slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom loading template."
}
]
}
}
}
},
"columngroup": {
2023-03-02 18:54:13 +00:00
"description": "Columns can be grouped at header and footer sections by defining a ColumnGroup component.\nIt is a helper component for DataTable.\n\n[Live Demo](https://www.primevue.org/datatable/)",
"components": {
"default": {
"description": "It is a helper component for DataTable.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
2023-02-28 08:29:30 +00:00
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ColumnGroupEmits": {
"description": "Defines valid emits in ColumnGroup component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ColumnGroupProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ColumnGroup component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "type",
"optional": true,
"readonly": false,
"type": "\"footer\" | \"header\"",
"default": "",
"description": "Type of column group"
}
],
"methods": []
},
"ColumnGroupSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ColumnGroup component.",
2023-02-28 14:48:13 +00:00
"relatedProp": "",
"props": [],
"methods": []
2023-02-28 08:29:30 +00:00
}
}
}
},
"config/PrimeVue": {
"functions": {
"description": "Defines the custom functions used by the module.",
"values": {
"usePrimeVue": {
"name": "usePrimeVue",
"parameters": [],
"returnType": "Object"
}
}
}
},
2023-03-06 10:59:56 +00:00
"confirmationoptions": {
"description": "[Live Demo](https://www.primevue.org/confirmdialog/)",
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"ConfirmationOptions": {
2023-03-06 10:59:56 +00:00
"description": "Confirmation Service options.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
2023-03-07 13:37:45 +00:00
{
"name": "accept",
"optional": true,
"readonly": false,
"type": "Function",
"default": ""
},
2023-02-28 08:29:30 +00:00
{
"name": "acceptClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the accept button."
},
{
"name": "acceptIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon of the accept button."
},
{
"name": "acceptLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Label of the accept button. Defaults to PrimeVue Locale configuration."
},
{
"name": "blockScroll",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether background scroll should be blocked when dialog is visible."
},
{
"name": "defaultFocus",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Element to receive the focus when the dialog gets visible, valid values are \"accept\" and \"reject\"."
},
{
"name": "group",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance."
},
{
"name": "header",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Header text of the dialog."
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon to display next to the message."
},
{
"name": "message",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Message of the confirmation."
},
2023-03-07 13:37:45 +00:00
{
"name": "onHide",
"optional": true,
"readonly": false,
"type": "Function",
"default": ""
},
2023-02-28 08:29:30 +00:00
{
"name": "position",
"optional": true,
"readonly": false,
2023-03-06 10:59:56 +00:00
"type": "\"center\" | \"left\" | \"top\" | \"bottom\" | \"right\" | \"topleft\" | \"topright\" | \"bottomleft\" | \"bottomright\"",
2023-03-08 11:02:08 +00:00
"default": "center",
2023-03-06 10:59:56 +00:00
"description": "Position of the dialog."
2023-02-28 08:29:30 +00:00
},
{
"name": "rejectClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the reject button."
},
{
"name": "rejectIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon of the reject button."
},
{
"name": "rejectLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Label of the reject button. Defaults to PrimeVue Locale configuration."
},
{
"name": "target",
"optional": true,
"readonly": false,
"type": "HTMLElement",
"default": "",
"description": "Element to align the overlay."
}
],
2023-03-06 10:59:56 +00:00
"methods": [
{
"name": "reject",
"parameters": [],
"returnType": "void",
"description": "Callback to execute when action is rejected."
}
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-07 13:37:45 +00:00
"confirmationservice-useconfirm": {
2023-03-06 10:59:56 +00:00
"description": "[Live Demo](https://www.primevue.org/confirmdialog/)",
2023-03-07 13:37:45 +00:00
"model": {
"ConfirmationServiceMethods": {
"description": "Confirmation Service methods.",
"props": {
"description": "",
"values": []
},
"methods": {
"description": "",
"values": [
2023-02-28 08:29:30 +00:00
{
"name": "close",
"parameters": [],
"returnType": "void",
"description": "Hides the dialog without invoking accept or reject callbacks."
},
{
"name": "require",
"parameters": [
{
"name": "options",
"optional": false,
"type": "ConfirmationOptions",
"description": "Confirmation Object"
}
],
"returnType": "void",
"description": "Displays the dialog using the confirmation object options."
}
]
}
}
}
},
2023-03-02 18:54:13 +00:00
"confirmdialog": {
"description": "ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.\n\n[Live Demo](https://www.primevue.org/confirmdialog)",
"components": {
"default": {
"description": "ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"ConfirmDialogBreakpoints": {
2023-03-02 18:54:13 +00:00
"description": "Breakpoint metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "string"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"ConfirmDialogEmits": {
"description": "Defines valid emits in ConfirmDialog component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ConfirmDialogProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ConfirmDialog component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "breakpoints",
"optional": true,
"readonly": false,
"type": "ConfirmDialogBreakpoints",
"default": "",
"description": "Object literal to define widths per screen size."
},
{
"name": "group",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance."
}
],
"methods": []
},
"ConfirmDialogSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ConfirmDialog component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "message",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>message</b>: ConfirmationOptions, // undefined\n }",
2023-03-02 18:54:13 +00:00
"description": "message slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom message template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"confirmpopup": {
"description": "ConfirmPopup displays a confirmation overlay displayed relatively to its target.\n\n[Live Demo](https://www.primevue.org/confirmpopup)",
"components": {
"default": {
"description": "ConfirmPopup displays a confirmation overlay displayed relatively to its target.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ConfirmPopupEmits": {
"description": "Defines valid emits in ConfirmPopup component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ConfirmPopupProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ConfirmPopup component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "group",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance."
}
],
"methods": []
},
"ConfirmPopupSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ConfirmPopup component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "message",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>message</b>: ConfirmationOptions, // undefined\n }",
2023-03-02 18:54:13 +00:00
"description": "message slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom message template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"contextmenu": {
"description": "ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.\nRefer to documentation of the individual documentation of the with context menu support.\n\n[Live Demo](https://www.primevue.org/contextmenu/)",
"components": {
"default": {
"description": "ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.\nRefer to documentation of the individual documentation of the with context menu support.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Hides the menu."
},
{
"name": "show",
"parameters": [
{
"name": "event",
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Shows the menu."
},
{
"name": "toggle",
"parameters": [
{
"name": "event",
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Toggles the visibility of the menu."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ContextMenuEmits": {
"description": "Defines valid emits in ContextMenu component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "before-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the popup is hidden."
},
{
"name": "before-show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the popup is shown."
},
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the popup is hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the popup is shown."
}
]
},
2023-02-28 08:29:30 +00:00
"ContextMenuProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ContextMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying menu element."
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "global",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Attaches the menu to document instead of a particular item."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"ContextMenuSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ContextMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
"datatable": {
2023-02-28 10:57:39 +00:00
"description": "DataTable displays data in tabular format.\n\n[Live Demo](https://www.primevue.org/datatable/)",
2023-02-28 12:10:08 +00:00
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 12:10:08 +00:00
"description": "DataTable displays data in tabular format.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
2023-02-28 08:29:30 +00:00
{
"name": "exportCSV",
"parameters": [
{
"name": "options",
"type": "DataTableExportCSVOptions",
"description": "Export options."
},
{
"name": "data",
"type": "any[]",
"description": "Custom exportable data. This param can be used on lazy dataTable."
}
],
"returnType": "void",
"description": "Exports the data to CSV format."
}
2023-02-28 12:10:08 +00:00
]
}
}
},
2023-03-06 10:59:56 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
2023-02-28 12:10:08 +00:00
"values": {
2023-03-06 10:59:56 +00:00
"DataTableCellEditCancelEvent": {
"description": "Custom cell edit cancel event.",
"relatedProp": "DataTableEmits['cell-edit-cancel']",
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Row data to edit."
},
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Field name of the row data."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the row data to edit."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedTypes": "DataTableCellEditInitEvent"
},
2023-02-28 08:29:30 +00:00
"DataTableCellEditCompleteEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom cell edit complete event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['cell-edit-complete']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Row data to edit."
},
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Field name of the row data."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Index of the row data to edit."
},
{
"name": "newData",
"optional": false,
"readonly": false,
"type": "any",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "New row data after editing."
},
{
"name": "newValue",
"optional": false,
"readonly": false,
"type": "any",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Field value of new row data after editing."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Browser event"
},
{
"name": "type",
"optional": false,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Type of completion such as 'enter', 'outside' or 'tab'."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Field value of row data to edit."
}
2023-03-06 10:59:56 +00:00
],
"methods": []
2023-02-28 08:29:30 +00:00
},
"DataTableCellEditInitEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom cell edit init event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['cell-edit-init']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Row data to edit."
},
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Field name of the row data."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Index of the row data to edit."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Browser event"
}
],
2023-03-06 10:59:56 +00:00
"methods": [],
2023-02-28 08:29:30 +00:00
"extendedBy": "DataTableCellEditCancelEvent"
},
"DataTableColumnReorderEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom row column reorder event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['column-reorder']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "dragIndex",
"optional": false,
"readonly": false,
"type": "number",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Index of the dragged column"
},
{
"name": "dropIndex",
"optional": false,
"readonly": false,
"type": "number",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Index of the dropped column"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Browser event"
}
2023-03-06 10:59:56 +00:00
],
"methods": []
2023-02-28 08:29:30 +00:00
},
"DataTableColumnResizeEndEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom row resize end event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['column-resize-end']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "delta",
"optional": false,
"readonly": false,
"type": "any",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Change in column width"
},
{
"name": "element",
"optional": false,
"readonly": false,
"type": "HTMLElement",
2023-03-06 10:59:56 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "DOM element of the resized column."
}
2023-03-06 10:59:56 +00:00
],
"methods": []
2023-02-28 08:29:30 +00:00
},
2023-03-06 10:59:56 +00:00
"DataTableEditingRows": {
"description": "Custom datatable editing rows.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
2023-03-06 10:59:56 +00:00
"name": "[key: string]",
2023-02-28 12:10:08 +00:00
"optional": false,
"readonly": false,
2023-03-06 10:59:56 +00:00
"type": "boolean"
2023-02-28 08:29:30 +00:00
}
],
2023-03-06 10:59:56 +00:00
"methods": []
2023-02-28 08:29:30 +00:00
},
2023-03-06 10:59:56 +00:00
"DataTableEmits": {
"description": "Defines valid emits in Datatable component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-06 10:59:56 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
2023-03-06 10:59:56 +00:00
"name": "cell-edit-cancel",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableCellEditCancelEvent",
"description": "Custom cell edit cancel event."
}
],
"returnType": "void",
"description": "Callback to invoke when cell edit is cancelled with escape key."
2023-02-28 08:29:30 +00:00
},
{
2023-03-06 10:59:56 +00:00
"name": "cell-edit-complete",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableCellEditCompleteEvent",
"description": "Custom cell edit complete event."
}
],
"returnType": "void",
"description": "Callback to invoke when cell edit is completed."
2023-02-28 08:29:30 +00:00
},
{
2023-03-06 10:59:56 +00:00
"name": "cell-edit-init",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableCellEditInitEvent",
"description": "Custom cell edit init."
}
],
"returnType": "void",
"description": "Callback to invoke when cell edit is initiated."
2023-02-28 08:29:30 +00:00
},
{
2023-03-06 10:59:56 +00:00
"name": "column-reorder",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableColumnReorderEvent",
"description": "Custom column reorder event."
}
],
"returnType": "void",
"description": "Callback to invoke when a column is reordered."
2023-02-28 12:10:08 +00:00
},
{
"name": "column-resize-end",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableColumnResizeEndEvent"
}
],
"returnType": "void",
"description": "Callback to invoke when a column is resized."
},
{
"name": "filter",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableFilterEvent",
"description": "Custom filter event."
2023-02-28 08:29:30 +00:00
}
],
"returnType": "void",
"description": "Event to emit after filtering, not triggered in lazy mode."
},
{
"name": "page",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTablePageEvent",
"description": "Custom page event."
}
],
"returnType": "void",
"description": "Callback to invoke on pagination. Sort and Filter information is also available for lazy loading implementation."
},
{
"name": "row-click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowClickEvent",
"description": "Custom row click event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is clicked."
},
{
"name": "row-collapse",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowCollapseEvent",
"description": "Custom row collapse event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is collapsed."
},
{
"name": "row-contextmenu",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowContextMenuEvent",
"description": "Custom row context menu event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is selected with a ContextMenu."
},
{
"name": "row-dblclick",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowDoubleClickEvent",
"description": "Custom row double click event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is double clicked."
},
{
"name": "row-edit-cancel",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowEditCancelEvent",
"description": "Custom row edit cancel event."
}
],
"returnType": "void",
"description": "Callback to invoke when row edit is cancelled."
},
2023-02-28 14:07:58 +00:00
{
"name": "row-edit-init",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowEditInitEvent",
"description": "Custom row edit init event."
}
],
"returnType": "void",
"description": "Callback to invoke when row edit is initiated."
},
2023-02-28 08:29:30 +00:00
{
"name": "row-edit-save",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowEditSaveEvent",
"description": "Custom row edit save event."
}
],
"returnType": "void",
"description": "Callback to invoke when row edit is saved."
},
{
"name": "row-expand",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowExpandEvent",
"description": "Custom row expand event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is expanded."
},
{
"name": "row-reorder",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowReorderEvent",
"description": "Custom row reorder event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is reordered."
},
{
"name": "row-select",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowSelectEvent",
"description": "Custom row select event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is selected."
},
{
"name": "row-select-all",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowSelectAllEvent",
"description": "Custom row select all event."
}
],
"returnType": "void",
"description": "Fired when header checkbox is checked."
},
{
"name": "row-unselect",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowUnselectEvent",
"description": "Custom row unselect event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row is unselected."
},
{
"name": "row-unselect-all",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowUnselectAllEvent",
"description": "Custom row unselect all event."
}
],
"returnType": "void",
"description": "Fired when header checkbox is unchecked."
},
{
2023-02-28 14:07:58 +00:00
"name": "rowgroup-collapse",
2023-02-28 08:29:30 +00:00
"parameters": [
{
"name": "event",
"optional": false,
2023-02-28 14:07:58 +00:00
"type": "DataTableRowCollapseEvent",
"description": "Custom row collapse event."
2023-02-28 08:29:30 +00:00
}
],
"returnType": "void",
2023-02-28 14:07:58 +00:00
"description": "Callback to invoke when a row group is collapsed."
2023-02-28 08:29:30 +00:00
},
{
"name": "rowgroup-expand",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableRowExpandEvent",
"description": "Custom row expand event."
}
],
"returnType": "void",
"description": "Callback to invoke when a row group is expanded."
},
{
"name": "select-all-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableSelectAllChangeEvent",
"description": "Custom select all change event."
}
],
"returnType": "void",
"description": "Callback to invoke when all data is selected."
},
{
"name": "sort",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableSortEvent",
"description": "Custom sort event."
}
],
"returnType": "void",
"description": "Callback to invoke on sort. Page and Filter information is also available for lazy loading implementation."
},
{
"name": "state-restore",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableStateEvent",
"description": "Custom state event."
}
],
"returnType": "void",
"description": "Invoked when a stateful table saves the state."
},
{
"name": "state-save",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataTableStateEvent",
"description": "Custom state event."
}
],
"returnType": "void",
"description": "Invoked when a stateful table restores the state."
},
{
"name": "update:contextMenuSelection",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the contextMenuSelection changes."
},
{
"name": "update:editingRows",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[] | DataTableEditingRows",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the editingRows changes."
},
{
"name": "update:expandedRowGroups",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[] | DataTableExpandedRows",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the expandedRowGroups changes."
},
{
"name": "update:expandedRows",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[] | DataTableExpandedRows",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the expandedRows changes."
},
{
"name": "update:filters",
"parameters": [
{
"name": "value",
"optional": false,
"type": "DataTableFilterMeta",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the filters changes."
},
{
"name": "update:first",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the first changes."
},
{
"name": "update:multiSortMeta",
"parameters": [
{
"name": "value",
"optional": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | null | DataTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the multiSortMeta changes."
},
{
"name": "update:rows",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the rows changes."
},
{
"name": "update:selection",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the selection changes."
},
{
"name": "update:sortField",
"parameters": [
{
"name": "value",
"optional": false,
"type": "string",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the sortField changes."
},
{
"name": "update:sortOrder",
"parameters": [
{
"name": "value",
"optional": false,
"type": "undefined | number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the sortOrder changes."
},
{
"name": "value-change",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[]",
"description": "Value displayed by the table."
}
],
"returnType": "void",
"description": "Callback to invoke after filtering, sorting, pagination and cell editing to pass the rendered value."
}
]
},
"DataTableExpandedRows": {
2023-02-28 12:10:08 +00:00
"description": "Custom datatable expanded rows.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "boolean"
}
],
"methods": []
},
"DataTableExportCSVOptions": {
2023-02-28 12:10:08 +00:00
"description": "Custom datatable export csv metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "selectionOnly",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether to export only selection data."
}
],
"methods": []
},
"DataTableExportFunctionOptions": {
2023-02-28 12:10:08 +00:00
"description": "Custom datatable export metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Row data"
},
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Column Field"
}
],
"methods": []
},
"DataTableFilterEvent": {
"description": "Custom sort event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits.sort",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "filterMatchModes",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Match modes per field"
},
{
"name": "filteredValue",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Filtered collection (non-lazy only)"
},
{
"name": "filters",
"optional": false,
"readonly": false,
"type": "DataTableFilterMeta",
"default": "",
"description": "Collection of active filters"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "multiSortMeta",
"optional": false,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "undefined | DataTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "MultiSort metadata"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
},
{
"name": "sortField",
"optional": false,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "undefined | string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Field to sort against"
},
{
"name": "sortOrder",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Sort order as integer"
}
],
"methods": [],
"extendedTypes": "DataTableSortEvent"
},
"DataTableFilterMeta": {
2023-02-28 12:10:08 +00:00
"description": "Custom datatable filter metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "string | DataTableFilterMetaData | DataTableOperatorFilterMetaData"
}
],
"methods": []
},
"DataTableFilterMetaData": {
2023-02-28 12:10:08 +00:00
"description": "Custom datatable filter metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "matchMode",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Filter match mode"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Filter value"
}
],
"methods": []
},
"DataTableOperatorFilterMetaData": {
2023-02-28 12:10:08 +00:00
"description": "Custom datatable operator filter metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "constraints",
"optional": false,
"readonly": false,
"type": "DataTableFilterMetaData[]",
"default": "",
"description": "Array of filter meta datas."
},
{
"name": "operator",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Filter operator"
}
],
"methods": []
},
"DataTablePageEvent": {
"description": "Custom pagination event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits.page",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "filterMatchModes",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Match modes per field"
},
{
"name": "filters",
"optional": false,
"readonly": false,
"type": "DataTableFilterMeta",
"default": "",
"description": "Collection of active filters"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "multiSortMeta",
"optional": false,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "undefined | DataTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "MultiSort metadata"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "page",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New page number"
},
{
"name": "pageCount",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Total page count"
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
},
{
"name": "sortField",
"optional": false,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "undefined | string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Field to sort against"
},
{
"name": "sortOrder",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Sort order as integer"
}
],
"methods": [],
"extendedTypes": "DataTableSortEvent"
},
"DataTableProps": {
2023-02-28 14:48:13 +00:00
"description": "Defines valid properties in DataTable component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "alwaysShowPaginator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "true",
"description": "Whether to show it even there is only one page."
2023-02-28 08:29:30 +00:00
},
{
"name": "breakpoint",
"optional": true,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "960px",
2023-02-28 12:10:08 +00:00
"description": "The breakpoint to define the maximum width boundary when using stack responsive layout."
2023-02-28 08:29:30 +00:00
},
{
"name": "collapsedRowIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "pi-chevron-right",
2023-02-28 12:10:08 +00:00
"description": "Icon of the row toggler to display the row as collapsed."
2023-02-28 08:29:30 +00:00
},
{
"name": "columnResizeMode",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "\"fit\" | \"expand\"",
2023-03-06 10:59:56 +00:00
"default": "fit",
2023-02-28 14:07:58 +00:00
"description": "Defines whether the overall table width."
2023-02-28 08:29:30 +00:00
},
{
"name": "compareSelectionBy",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "\"equals\" | \"deepEquals\"",
2023-03-06 10:59:56 +00:00
"default": "deepEquals",
2023-02-28 14:07:58 +00:00
"description": "Algorithm to define if a row is selected."
2023-02-28 08:29:30 +00:00
},
{
"name": "contextMenu",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Enables context menu integration."
},
{
"name": "contextMenuSelection",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected row instance with the ContextMenu."
},
{
"name": "csvSeparator",
"optional": true,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": ",",
2023-02-28 12:10:08 +00:00
"description": "Character to use as the csv separator."
2023-02-28 08:29:30 +00:00
},
{
"name": "currentPageReportTemplate",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "'({currentPage} of {totalPages})'",
2023-02-28 14:07:58 +00:00
"description": "Template of the current page report element. It displays information about the pagination state. Available placeholders are the following;\n\n- {currentPage}\n- {totalPages}\n- {rows}\n- {first}\n- {last}\n- {totalRecords}"
2023-02-28 08:29:30 +00:00
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "string | Function",
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Name of the field that uniquely identifies the a record in the data."
},
{
"name": "defaultSortOrder",
"optional": true,
"readonly": false,
"type": "number",
2023-02-28 12:10:08 +00:00
"default": "1",
"description": "Default sort order of an unsorted column."
2023-02-28 08:29:30 +00:00
},
{
"name": "editMode",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "\"cell\" | \"row\"",
"default": "",
2023-03-03 08:18:55 +00:00
"description": "Defines the incell editing mode."
2023-02-28 08:29:30 +00:00
},
{
"name": "editingRows",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "any[] | DataTableEditingRows",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "A collection of rows to represent the current editing data in row edit mode."
},
{
"name": "expandableRowGroups",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the row groups can be expandable."
},
{
"name": "expandedRowGroups",
"optional": true,
"readonly": false,
"type": "any[] | DataTableExpandedRows",
"default": "",
"description": "An array of group field values whose groups would be rendered as expanded."
},
{
"name": "expandedRowIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "pi-chevron-down",
2023-02-28 12:10:08 +00:00
"description": "Icon of the row toggler to display the row as expanded."
2023-02-28 08:29:30 +00:00
},
{
"name": "expandedRows",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "null | any[] | DataTableExpandedRows",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "A collection of row data display as expanded."
},
{
"name": "exportFilename",
"optional": true,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "download",
2023-02-28 12:10:08 +00:00
"description": "Name of the exported file."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterDisplay",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "\"menu\" | \"row\"",
"default": "",
"description": "Layout of the filter elements."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterInputProps",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "InputHTMLAttributes",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable filter input element inside the component."
},
{
"name": "filterLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in filtering. The default locale is the host environment's current locale."
},
{
"name": "filters",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "DataTableFilterMeta",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Filters object with key-value pairs to define the filters."
},
{
"name": "first",
"optional": true,
"readonly": false,
"type": "number",
2023-02-28 12:10:08 +00:00
"default": "0",
"description": "Index of the first row to be displayed."
2023-02-28 08:29:30 +00:00
},
{
"name": "frozenValue",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "null | any[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Items of the frozen part in scrollable DataTable."
},
{
"name": "globalFilterFields",
"optional": true,
"readonly": false,
"type": "string[]",
"default": "",
"description": "Fields for global filter"
},
{
"name": "groupRowsBy",
"optional": true,
"readonly": false,
"type": "string | string[] | Function",
"default": "",
"description": "One or more field names to use in row grouping."
},
{
"name": "lazy",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if data is loaded and interacted with in lazy manner."
},
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Displays a loader to indicate data load is in progress."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-06 10:59:56 +00:00
"default": "pi pi-spinner",
2023-02-28 12:10:08 +00:00
"description": "The icon to show while indicating data load is in progress."
2023-02-28 08:29:30 +00:00
},
{
"name": "metaKeySelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "true",
"description": "Defines whether metaKey is requred or not for the selection. When true metaKey needs to be pressed to select or unselect an item and\nwhen set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "multiSortMeta",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "DataTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
2023-02-28 14:07:58 +00:00
"description": "An array of SortMeta objects to sort the data."
2023-02-28 08:29:30 +00:00
},
{
"name": "pageLinkSize",
"optional": true,
"readonly": false,
"type": "number",
2023-02-28 12:10:08 +00:00
"default": "5",
"description": "Number of page links to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "paginator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified as true, enables the pagination."
},
{
"name": "paginatorPosition",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "\"both\" | \"top\" | \"bottom\"",
"default": "bottom",
2023-02-28 08:29:30 +00:00
"description": "Position of the paginator, options are 'top','bottom' or 'both'."
},
{
"name": "paginatorTemplate",
"optional": true,
"readonly": false,
"type": "any",
2023-03-06 10:59:56 +00:00
"default": "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",
2023-02-28 12:10:08 +00:00
"description": "Template of the paginator. It can be customized using the template property using the predefined keys.\n\n- FirstPageLink\n- PrevPageLink\n- PageLinks\n- NextPageLink\n- LastPageLink\n- RowsPerPageDropdown\n- JumpToPageDropdown\n- JumpToPageInput\n- CurrentPageReport"
2023-02-28 08:29:30 +00:00
},
{
"name": "removableSort",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, columns can have an un-sorted state."
},
{
"name": "reorderableColumns",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, columns can be reordered using drag and drop."
},
{
"name": "resizableColumns",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, columns can be resized using drag and drop."
},
{
"name": "rowClass",
"optional": true,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "rowGroupMode",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "\"rowspan\" | \"subheader\"",
"default": "",
"description": "Defines the row group mode."
2023-02-28 08:29:30 +00:00
},
{
"name": "rowHover",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, background of the rows change on hover."
},
{
"name": "rowStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "A function that takes the row data as a parameter and returns the inline style for the corresponding row."
},
{
"name": "rows",
"optional": true,
"readonly": false,
"type": "number",
2023-02-28 12:10:08 +00:00
"default": "0",
2023-02-28 08:29:30 +00:00
"description": "Number of rows to display per page."
},
{
"name": "rowsPerPageOptions",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "number[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Array of integer values to display inside rows per page dropdown."
},
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "string",
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Height of the scroll viewport in fixed pixels or the 'flex' keyword for a dynamic size."
},
{
"name": "scrollable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, enables horizontal and/or vertical scrolling."
},
{
"name": "selectAll",
"optional": true,
"readonly": false,
"type": "Nullable<boolean>",
"default": "",
"description": "Whether all data is selected."
},
{
"name": "selection",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected row in single mode or an array of values in multiple mode."
},
{
"name": "selectionMode",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "\"multiple\" | \"single\"",
2023-02-28 14:07:58 +00:00
"default": "",
"description": "Specifies the selection mode."
2023-02-28 08:29:30 +00:00
},
{
"name": "showGridlines",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to show grid lines between cells."
},
{
"name": "sortField",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "string | Function",
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Property name or a getter function of a row data used for sorting by default"
},
{
"name": "sortMode",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "\"multiple\" | \"single\"",
2023-03-06 10:59:56 +00:00
"default": "single",
2023-02-28 08:29:30 +00:00
"description": "Defines whether sorting works on single column or on multiple columns."
},
{
"name": "sortOrder",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Order to sort the data by default."
},
{
"name": "stateKey",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Unique identifier of a stateful table to use in state storage."
},
{
"name": "stateStorage",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "\"local\" | \"session\"",
2023-03-06 10:59:56 +00:00
"default": "session",
2023-02-28 14:07:58 +00:00
"description": "Defines where a stateful table keeps its state."
2023-02-28 08:29:30 +00:00
},
{
"name": "stripedRows",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 12:10:08 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to displays rows with alternating colors."
},
{
"name": "tableClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the table element."
},
{
"name": "tableProps",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "TableHTMLAttributes",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Uses to pass all properties of the TableHTMLAttributes to table element inside the component."
},
{
"name": "tableStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the table element."
},
{
"name": "totalRecords",
"optional": true,
"readonly": false,
"type": "number",
2023-02-28 12:10:08 +00:00
"default": "0",
2023-02-28 08:29:30 +00:00
"description": "Number of total records, defaults to length of value when not defined."
},
{
"name": "value",
"optional": true,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "null | any[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "An array of objects to display."
},
{
"name": "virtualScrollerOptions",
"optional": true,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "VirtualScrollerProps",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.\nNote: Currently only vertical orientation mode is supported."
}
],
"methods": [
{
"name": "exportFunction",
"parameters": [
{
"name": "options",
"optional": false,
"type": "DataTableExportFunctionOptions"
}
],
"returnType": "any",
"description": "Custom function to export data."
}
]
},
2023-03-06 10:59:56 +00:00
"DataTableRowClickEvent": {
"description": "Custom row click event.",
"relatedProp": "DataTableEmits['row-click']",
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected row data."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Row index."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
}
],
"methods": [],
"extendedBy": "DataTableRowDoubleClickEvent,DataTableRowContextMenuEvent"
},
2023-02-28 08:29:30 +00:00
"DataTableRowCollapseEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom row collapse event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['row-expand']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Expanded row data"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedTypes": "DataTableRowExpandEvent"
},
"DataTableRowContextMenuEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom context menu event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['row-contextmenu']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected row data."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Row index."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
}
],
"methods": [],
"extendedTypes": "DataTableRowClickEvent"
},
"DataTableRowDoubleClickEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom row double click event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['row-dblclick']]",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected row data."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Row index."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
}
],
"methods": [],
"extendedTypes": "DataTableRowClickEvent"
2023-02-28 12:10:08 +00:00
},
"DataTableRowEditCancelEvent": {
"description": "Custom row edit cancel event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['row-edit-cancel']",
2023-02-28 12:10:08 +00:00
"props": [
2023-02-28 08:29:30 +00:00
{
2023-02-28 12:10:08 +00:00
"name": "data",
2023-02-28 08:29:30 +00:00
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "any",
2023-02-28 08:29:30 +00:00
"default": "",
2023-02-28 12:10:08 +00:00
"description": "Row data to edit."
2023-02-28 08:29:30 +00:00
},
{
2023-02-28 12:10:08 +00:00
"name": "field",
2023-02-28 08:29:30 +00:00
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
2023-02-28 12:10:08 +00:00
"description": "Field name of the row data."
2023-02-28 08:29:30 +00:00
},
{
2023-02-28 12:10:08 +00:00
"name": "index",
2023-02-28 08:29:30 +00:00
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "number",
2023-02-28 08:29:30 +00:00
"default": "",
2023-02-28 12:10:08 +00:00
"description": "Index of the row data to edit."
},
2023-02-28 08:29:30 +00:00
{
2023-02-28 12:10:08 +00:00
"name": "newData",
2023-02-28 08:29:30 +00:00
"optional": false,
"readonly": false,
"type": "any",
"default": "",
2023-02-28 12:10:08 +00:00
"description": "New row data after editing."
2023-02-28 08:29:30 +00:00
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
2023-02-28 12:10:08 +00:00
"methods": [],
"extendedTypes": "DataTableRowEditInitEvent"
2023-02-28 08:29:30 +00:00
},
2023-03-06 10:59:56 +00:00
"DataTableRowEditInitEvent": {
"description": "Custom row edit complete event.",
"relatedProp": "DataTableEmits['row-edit-init']",
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Row data to edit."
},
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Field name of the row data."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the row data to edit."
},
{
"name": "newData",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "New row data after editing."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedBy": "DataTableRowEditSaveEvent,DataTableRowEditCancelEvent"
},
2023-02-28 12:10:08 +00:00
"DataTableRowEditSaveEvent": {
"description": "Custom row edit init event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['row-edit-complete']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
2023-02-28 12:10:08 +00:00
"description": "Row data to edit."
2023-02-28 08:29:30 +00:00
},
{
2023-02-28 12:10:08 +00:00
"name": "field",
2023-02-28 08:29:30 +00:00
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
2023-02-28 12:10:08 +00:00
"description": "Field name of the row data."
2023-02-28 08:29:30 +00:00
},
{
2023-03-06 10:59:56 +00:00
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the row data to edit."
},
{
"name": "newData",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "New row data after editing."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedTypes": "DataTableRowEditInitEvent"
},
"DataTableRowExpandEvent": {
"description": "Custom row expand event.",
"relatedProp": "DataTableEmits['row-expand']",
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Expanded row data"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedBy": "DataTableRowCollapseEvent"
},
"DataTableRowReorderEvent": {
"description": "Custom row reorder event.",
"relatedProp": "DataTableEmits['row-reorder']",
"props": [
{
"name": "dragIndex",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the dragged row"
},
{
"name": "dropIndex",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the dropped row"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Reordered value"
}
],
"methods": []
},
"DataTableRowSelectAllEvent": {
"description": "Custom row select all event.",
"relatedProp": "DataTableEmits['row-select-all']",
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected dataset"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": []
},
"DataTableRowSelectEvent": {
"description": "Custom row select event.",
"relatedProp": "DataTableEmits['row-select']",
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected row data"
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Row index"
},
{
"name": "originalEvent",
2023-02-28 08:29:30 +00:00
"optional": false,
"readonly": false,
2023-03-06 10:59:56 +00:00
"type": "Event",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-06 10:59:56 +00:00
"description": "Browser event"
2023-02-28 08:29:30 +00:00
},
{
2023-03-06 10:59:56 +00:00
"name": "type",
2023-02-28 08:29:30 +00:00
"optional": false,
"readonly": false,
2023-03-06 10:59:56 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-06 10:59:56 +00:00
"description": "Type of the selection, valid values are 'row', 'radio' or 'checkbox'."
}
],
"methods": [],
"extendedBy": "DataTableRowUnselectEvent"
},
"DataTableRowUnselectAllEvent": {
"description": "Custom row unselect all event.",
"relatedProp": "DataTableEmits['row-unselect-all']",
"props": [
2023-02-28 08:29:30 +00:00
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
2023-03-06 10:59:56 +00:00
"methods": []
2023-02-28 08:29:30 +00:00
},
"DataTableRowUnselectEvent": {
2023-02-28 12:10:08 +00:00
"description": "Custom row unselect event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits['row-unselect']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected row data"
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Row index"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "type",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Type of the selection, valid values are 'row', 'radio' or 'checkbox'."
}
],
"methods": [],
"extendedTypes": "DataTableRowSelectEvent"
},
2023-03-06 10:59:56 +00:00
"DataTableSelectAllChangeEvent": {
"description": "Custom row select all change event.",
"relatedProp": "DataTableEmits['select-all-change']",
"props": [
{
"name": "checked",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether all data is selected."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": []
},
2023-02-28 08:29:30 +00:00
"DataTableSlots": {
2023-02-28 14:48:13 +00:00
"description": "Defines valid slots in DataTable component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": [
{
"name": "empty",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template."
},
{
"name": "expansion",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>data</b>: any, // Row data\n \t <b>index</b>: number, // Row index\n }",
2023-02-28 08:29:30 +00:00
"description": "expansion slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom expansion template."
},
{
"name": "footer",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
},
{
"name": "groupfooter",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>data</b>: any, // Row data\n \t <b>index</b>: number, // Row index\n }",
2023-02-28 08:29:30 +00:00
"description": "group footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom group footer template."
},
{
"name": "groupheader",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>data</b>: any, // Row data\n \t <b>index</b>: number, // Row index\n }"
2023-02-28 08:29:30 +00:00
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom group header template."
},
{
"name": "header",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
},
{
"name": "loading",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom loading template."
},
{
"name": "paginatorend",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom paginator end template."
},
{
"name": "paginatorstart",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom paginator start template."
}
]
},
"DataTableSortEvent": {
"description": "Custom tab open event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "DataTableEmits.sort",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "filterMatchModes",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Match modes per field"
},
{
"name": "filters",
"optional": false,
"readonly": false,
"type": "DataTableFilterMeta",
"default": "",
"description": "Collection of active filters"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "multiSortMeta",
"optional": false,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "undefined | DataTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "MultiSort metadata"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
},
{
"name": "sortField",
"optional": false,
"readonly": false,
2023-02-28 14:07:58 +00:00
"type": "undefined | string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Field to sort against"
},
{
"name": "sortOrder",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Sort order as integer"
}
],
"methods": [],
"extendedBy": "DataTablePageEvent,DataTableFilterEvent"
},
"DataTableSortMeta": {
2023-02-28 12:10:08 +00:00
"description": "Custom datatable sort meta.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Column field"
},
{
"name": "order",
"optional": false,
"readonly": false,
2023-02-28 12:10:08 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Column sort order"
}
],
"methods": []
2023-03-06 10:59:56 +00:00
},
"DataTableStateEvent": {
"description": "Custom state event.",
"relatedProp": "DataTableEmits['state-save']",
"props": [
{
"name": "columWidths",
"optional": false,
"readonly": false,
"type": "string[]",
"default": "",
"description": "Comma separated list of column widths"
},
{
"name": "columnOrder",
"optional": false,
"readonly": false,
"type": "string[]",
"default": "",
"description": "Order of the columns"
},
{
"name": "expandedRowGroups",
"optional": false,
"readonly": false,
"type": "any[] | DataTableExpandedRows",
"default": "",
"description": "Instances of rows in expanded state"
},
{
"name": "expandedRowKeys",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Keys of rows in expanded state"
},
{
"name": "expandedRows",
"optional": false,
"readonly": false,
"type": "any[] | DataTableExpandedRows",
"default": "",
"description": "Instances of rows in expanded state"
},
{
"name": "filters",
"optional": false,
"readonly": false,
"type": "DataTableFilterMeta",
"default": "",
"description": "Collection of active filters"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "multiSortMeta",
"optional": false,
"readonly": false,
"type": "undefined | DataTableSortMeta[]",
"default": "",
"description": "MultiSort metadata"
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
},
{
"name": "selection",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected rows"
},
{
"name": "selectionKeys",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Keys of selected rows"
},
{
"name": "sortField",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Field to sort against"
},
{
"name": "sortOrder",
"optional": false,
"readonly": false,
"type": "undefined | null | 0 | 1 | -1",
"default": "",
"description": "Sort order as integer"
}
],
"methods": []
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"dataview": {
"description": "DataView displays data in grid or list layout with pagination and sorting features.\n\n[Live Demo](https://www.primevue.org/dataview/)",
"components": {
"default": {
"description": "DataView displays data in grid or list layout with pagination and sorting features.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"DataViewEmits": {
"description": "Defines valid slots in DataView component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "page",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "event",
"optional": false,
"type": "DataViewPageEvent",
"description": "Custom page event."
}
],
"returnType": "void",
"description": "Callback to invoke when page changes, the event object contains information about the new state."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "update:first",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the first changes."
},
{
"name": "update:rows",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the rows changes."
}
]
},
"DataViewPageEvent": {
2023-03-07 13:37:45 +00:00
"description": "Custom page event.",
"relatedProp": "DataViewEmits.page",
2023-03-02 18:54:13 +00:00
"props": [
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "page",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New page number"
},
{
"name": "pageCount",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Total number of pages"
},
2023-02-28 08:29:30 +00:00
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
}
],
"methods": []
},
"DataViewProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in DataView component. In addition to these, all properties of HTMLDivElement can be used in this component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "alwaysShowPaginator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show it even there is only one page."
2023-02-28 08:29:30 +00:00
},
{
"name": "currentPageReportTemplate",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'({currentPage} of {totalPages})'",
2023-03-02 18:54:13 +00:00
"description": "Template of the current page report element. It displays information about the pagination state.\n\n- {currentPage}\n- {totalPages}\n- {rows}\n- {first}\n- {last}\n- {totalRecords}"
2023-02-28 08:29:30 +00:00
},
{
"name": "dataKey",
"optional": false,
"readonly": false,
"type": "undefined | string",
"default": "",
"description": "Name of the data that uniquely identifies the a record in the data."
},
{
"name": "first",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Index of the first record to render."
2023-02-28 08:29:30 +00:00
},
{
"name": "layout",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"grid\" | \"list\"",
2023-03-08 11:02:08 +00:00
"default": "list",
2023-02-28 08:29:30 +00:00
"description": "Layout of the items, valid values are 'list' and 'grid'."
},
{
"name": "lazy",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if data is loaded and interacted with in lazy manner."
},
{
"name": "pageLinkSize",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "5",
"description": "Number of page links to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "paginator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified as true, enables the pagination."
},
{
"name": "paginatorPosition",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"both\" | \"top\" | \"bottom\"",
2023-03-08 11:02:08 +00:00
"default": "bottom",
2023-02-28 08:29:30 +00:00
"description": "Position of the paginator, options are 'top','bottom' or 'both'."
},
{
"name": "paginatorTemplate",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",
"description": "Template of the paginator. It can be customized using the template property using the predefined keys,\n\n- FirstPageLink\n- PrevPageLink\n- PageLinks\n- NextPageLink\n- LastPageLink\n- RowsPerPageDropdown\n- JumpToPageDropdown\n- JumpToPageInput\n- CurrentPageReport"
2023-02-28 08:29:30 +00:00
},
{
"name": "rows",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Number of rows to display per page."
2023-02-28 08:29:30 +00:00
},
{
"name": "rowsPerPageOptions",
"optional": true,
"readonly": false,
"type": "number[]",
"default": "",
"description": "Array of integer values to display inside rows per page dropdown."
},
{
"name": "sortField",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or a getter function of data to use in sorting by default."
},
{
"name": "sortOrder",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Order to sort the data by default."
},
{
"name": "totalRecords",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of total records, defaults to length of value when not defined."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of objects to display."
}
],
"methods": []
},
"DataViewSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in DataView component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "empty",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "grid",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>data</b>: any, // Value of the component\n \t <b>index</b>: number, // Index of the grid\n }",
2023-03-02 18:54:13 +00:00
"description": "list slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom list template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "list",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>data</b>: any, // Value of the component\n \t <b>index</b>: number, // Index of the grid\n }",
2023-03-02 18:54:13 +00:00
"description": "list slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom list template."
2023-02-28 08:29:30 +00:00
},
{
"name": "paginatorend",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom paginator end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "paginatorstart",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom paginator start template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-06 10:59:56 +00:00
"dataviewlayoutoptions": {
"description": "The helper DataViewLayoutOptions component can be used to switch between the modes however this component is optional and you may use your own UI to switch modes as well.\n\n[Live Demo](https://www.primevue.org/dataview/)",
"components": {
"default": {
"description": "The helper DataViewLayoutOptions component can be used to switch between the modes however this component is optional and you may use your own UI to switch modes as well.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-06 10:59:56 +00:00
"DataViewLayoutOptionsEmits": {
"description": "Defines valid emits in DataViewLayoutOptions component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "string",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"DataViewLayoutOptionsProps": {
2023-03-06 10:59:56 +00:00
"description": "Defines valid properties in DataViewLayoutOptions component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Value of the component."
}
],
"methods": []
},
"DataViewLayoutOptionsSlots": {
2023-03-06 10:59:56 +00:00
"description": "Defines valid propslotserties in DataViewLayoutOptions component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-02-28 15:50:01 +00:00
"deferredcontent": {
"description": "DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll.\n\n[Live Demo](https://www.primevue.org/deferredcontent/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 15:50:01 +00:00
"description": "DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-02-28 15:50:01 +00:00
"DeferredContentEmits": {
"description": "Defines valid emits in DeferredContent component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "load",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when deferred content is loaded."
}
]
},
2023-02-28 08:29:30 +00:00
"DeferredContentProps": {
"relatedProp": "",
"props": [],
"methods": []
},
"DeferredContentSlots": {
2023-02-28 15:50:01 +00:00
"description": "Defines valid slots in DeferredContent component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-02-28 15:50:01 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-02-28 15:50:01 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default content slot."
2023-02-28 08:29:30 +00:00
}
2023-02-28 15:50:01 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"dialog": {
"description": "Dialog is a container to display content in an overlay window.\n\n[Live Demo](https://www.primevue.org/dialog)",
"components": {
"default": {
"description": "Dialog is a container to display content in an overlay window.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"DialogBreakpoints": {
2023-03-02 18:54:13 +00:00
"description": "Custom breakpoint metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "string"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"DialogEmits": {
"description": "Defines valid emits in Dialog component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "after-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke after dialog is hidden."
},
{
"name": "dragend",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Fired when a dialog drag completes."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when dialog is hidden."
},
{
"name": "maximize",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Fired when a dialog gets maximized."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when dialog is shown."
},
{
"name": "unmaximize",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Fired when a dialog gets unmaximized."
},
{
"name": "update:visible",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the visible changes."
}
]
},
2023-02-28 08:29:30 +00:00
"DialogProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Dialog component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-03-02 18:54:13 +00:00
"description": "A valid query selector or an HTMLElement to specify where the dialog gets attached."
2023-02-28 08:29:30 +00:00
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "breakpoints",
"optional": true,
"readonly": false,
"type": "DialogBreakpoints",
"default": "",
"description": "Object literal to define widths per screen size."
},
{
"name": "closable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Adds a close icon to the header to hide the dialog."
2023-02-28 08:29:30 +00:00
},
{
"name": "closeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the dialog close button."
2023-02-28 08:29:30 +00:00
},
{
"name": "closeOnEscape",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Specifies if pressing escape key should hide the dialog."
2023-02-28 08:29:30 +00:00
},
{
"name": "contentClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the content section."
},
{
"name": "contentProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
},
{
"name": "contentStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style of the content section."
},
{
"name": "dismissableMask",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Specifies if clicking the modal background should hide the dialog."
},
{
"name": "draggable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Enables dragging to change the position using header."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Footer content of the dialog."
},
{
"name": "header",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Title content of the dialog."
},
{
"name": "keepInViewPort",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Keeps dialog in the viewport when dragging."
2023-02-28 08:29:30 +00:00
},
{
"name": "maximizable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the dialog can be displayed full screen."
},
{
"name": "maximizeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-window-maximize",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the dialog maximize button when dialog is not maximized."
2023-02-28 08:29:30 +00:00
},
{
"name": "minX",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0.",
"description": "Minimum value for the left coordinate of dialog in dragging."
2023-02-28 08:29:30 +00:00
},
{
"name": "minY",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Minimum value for the top coordinate of dialog in dragging."
2023-02-28 08:29:30 +00:00
},
{
"name": "minimizeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-window-minimize",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the dialog maximize button when dialog is maximized."
2023-02-28 08:29:30 +00:00
},
{
"name": "modal",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if background should be blocked when dialog is displayed."
},
{
"name": "position",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"center\" | \"left\" | \"top\" | \"bottom\" | \"right\" | \"topleft\" | \"topright\" | \"bottomleft\" | \"bottomright\"",
2023-03-08 11:02:08 +00:00
"default": "center",
2023-03-02 18:54:13 +00:00
"description": "Position of the dialog."
2023-02-28 08:29:30 +00:00
},
{
"name": "rtl",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled dialog is displayed in RTL direction."
},
{
"name": "showHeader",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show the header or not."
2023-02-28 08:29:30 +00:00
},
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style of the dynamic dialog."
},
{
"name": "visible",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Specifies the visibility of the dialog."
}
],
"methods": []
},
"DialogSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Dialog component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default content slot."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
"dialogservice-usedialog": {
2023-03-06 10:59:56 +00:00
"description": "[Live Demo](https://www.primevue.org/dynamicdialog/)",
2023-03-07 13:37:45 +00:00
"model": {
"DialogServiceMethods": {
"description": "Dynamic Dialog components methods.",
"props": {
"description": "",
"values": []
},
"methods": {
"description": "",
"values": [
2023-02-28 08:29:30 +00:00
{
"name": "open",
2023-03-07 13:37:45 +00:00
"parameters": [
{
"name": "content",
"optional": false,
"type": "any",
"description": "Dynamic component for content template"
},
{
"name": "options",
"optional": true,
"type": "DynamicDialogOptions",
"description": "DynamicDialog Object"
}
],
"returnType": "DynamicDialogInstance",
"description": "Displays the dialog using the dynamic dialog object options."
2023-02-28 08:29:30 +00:00
}
2023-03-07 13:37:45 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-02-28 15:50:01 +00:00
"divider": {
2023-03-02 18:54:13 +00:00
"description": "Divider is used to separate contents.\n\n[Live Demo](https://primevue.org/divider)",
2023-02-28 15:50:01 +00:00
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 15:50:01 +00:00
"description": "Divider is used to separate contents.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-02-28 15:50:01 +00:00
"DividerEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"DividerProps": {
2023-02-28 15:50:01 +00:00
"description": "Defines valid properties in Divider component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "align",
"optional": true,
"readonly": false,
2023-02-28 15:50:01 +00:00
"type": "\"center\" | \"left\" | \"top\" | \"bottom\" | \"right\"",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-03 08:18:55 +00:00
"description": "Alignment of the content."
2023-02-28 08:29:30 +00:00
},
{
"name": "layout",
"optional": true,
"readonly": false,
2023-02-28 15:50:01 +00:00
"type": "\"horizontal\" | \"vertical\"",
2023-03-08 11:02:08 +00:00
"default": "horizontal",
2023-02-28 08:29:30 +00:00
"description": "Specifies the orientation, valid values are 'horizontal' and 'vertical'."
},
{
"name": "type",
"optional": true,
"readonly": false,
2023-02-28 15:50:01 +00:00
"type": "\"dashed\" | \"dotted\" | \"solid\"",
2023-03-08 11:02:08 +00:00
"default": "solid",
2023-02-28 08:29:30 +00:00
"description": "Border style type."
}
],
"methods": []
},
"DividerSlots": {
2023-02-28 15:50:01 +00:00
"description": "Defines valid slots in Divider slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-02-28 15:50:01 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-02-28 15:50:01 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default content slot."
2023-02-28 08:29:30 +00:00
}
2023-02-28 15:50:01 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"dock": {
"description": "Dock is a navigation component consisting of menuitems.\n\n[Live Demo](https://www.primevue.org/dock/)",
"components": {
"default": {
"description": "Dock is a navigation component consisting of menuitems.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"DockEmits": {
"description": "Defines valid emits in Dock component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
}
]
},
2023-02-28 08:29:30 +00:00
"DockProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Dock component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the element."
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "menuId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Unique identifier of the menu."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "MenuModel instance to define the action items."
},
{
"name": "position",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"left\" | \"top\" | \"bottom\" | \"right\"",
2023-03-08 11:02:08 +00:00
"default": "bottom",
2023-02-28 08:29:30 +00:00
"description": "Position of element."
},
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the element."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
},
{
"name": "tooltipOptions",
"optional": true,
"readonly": false,
"type": "DockTooltipOptions",
"default": "",
"description": "Whether to display the tooltip on items. The modifiers of Tooltip can be used like an object in it. Valid keys are 'event' and 'position'."
}
],
"methods": []
},
"DockSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Dock component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "icon",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Custom content for icon.\n }",
2023-03-02 18:54:13 +00:00
"description": "icon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom icon content."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the menuitem\n \t <b>item</b>: MenuItem, // Custom content for item.\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item content."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
},
"DockTooltipOptions": {
2023-03-02 18:54:13 +00:00
"description": "Defines tooltip options",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "event",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"focus\" | \"hover\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Event to show the tooltip, valid values are hover and focus."
},
{
"name": "position",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"left\" | \"top\" | \"bottom\" | \"right\"",
2023-03-08 11:02:08 +00:00
"default": "bottom",
2023-02-28 08:29:30 +00:00
"description": "Position of element."
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "any"
2023-02-28 08:29:30 +00:00
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"dropdown": {
"description": "Dropdown also known as Select, is used to choose an item from a collection of options.\n\n[Live Demo](https://www.primevue.org/dropdown/)",
"components": {
"default": {
"description": "Dropdown also known as Select, is used to choose an item from a collection of options.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"DropdownChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "DropdownEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected option value"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"DropdownEmits": {
"description": "Defines valid emits in Dropdown component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
{
"name": "before-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is hidden."
},
{
"name": "before-show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is shown."
},
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DropdownChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "filter",
"parameters": [
{
"name": "event",
"optional": false,
"type": "DropdownFilterEvent",
"description": "Custom filter event."
}
],
"returnType": "void",
"description": "Callback to invoke on filter input."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is shown."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"DropdownFilterEvent": {
2023-03-06 10:59:56 +00:00
"description": "Custom filter event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "DropdownEmits.filter",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Filter value"
}
],
"methods": []
},
"DropdownProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Dropdown component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-03-02 18:54:13 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
2023-02-28 08:29:30 +00:00
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "autoFilterFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "Whether to focus on the filter element when the overlay panel is shown."
2023-02-28 08:29:30 +00:00
},
{
"name": "autoOptionFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to focus on the first visible or selected element when the overlay panel is shown."
2023-02-28 08:29:30 +00:00
},
{
"name": "clearIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in clear button."
2023-02-28 08:29:30 +00:00
},
{
"name": "clearIconProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLElement to the clear icon inside the component."
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "A property to uniquely identify an option."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "dropdownIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-down",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the dropdown."
2023-02-28 08:29:30 +00:00
},
{
"name": "editable",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, custom value instead of predefined options can be entered using the editable input field."
},
{
"name": "emptyFilterMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found",
2023-03-02 18:54:13 +00:00
"description": "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results foun",
2023-03-02 18:54:13 +00:00
"description": "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptySelectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No selected item",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "filter",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When specified, displays a filter input at header."
},
{
"name": "filterFields",
"optional": true,
"readonly": false,
"type": "string[]",
"default": "",
"description": "Fields used when filtering the options, defaults to optionLabel."
},
{
"name": "filterIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-search",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in filter input."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterInputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the filter input inside the component."
},
{
"name": "filterLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in filtering. The default locale is the host environment's current locale."
},
{
"name": "filterMatchMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"endsWith\" | \"startsWith\" | \"contains\"",
2023-03-08 11:02:08 +00:00
"default": "contains",
2023-02-28 08:29:30 +00:00
"description": "Defines the filtering algorithm to use when searching the options."
},
{
"name": "filterMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} results are available'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterPlaceholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text to show when filter input is empty."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes | InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the dropdown is in loading state."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-spinner pi-spin",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in loading state."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "optionDisabled",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
{
"name": "optionGroupChildren",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function that refers to the children options of option group."
},
{
"name": "optionGroupLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option group."
},
{
"name": "optionLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option."
},
{
"name": "optionValue",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of selectitems to display as the available options."
},
{
"name": "panelClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "panelProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
},
{
"name": "panelStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the overlay panel."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Default text to display when no option is selected."
},
{
"name": "resetFilterOnHide",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Clears the filter value when hiding the dropdown."
},
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "200px",
2023-03-02 18:54:13 +00:00
"description": "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "When enabled, the focused option is selected."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} items selected'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "showClear",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When enabled, a clear icon is displayed to clear the value."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
},
{
"name": "virtualScrollerOptions",
"optional": true,
"readonly": false,
"type": "VirtualScrollerProps",
"default": "",
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
}
],
"methods": []
},
"DropdownSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Dropdown component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
2023-03-02 18:54:13 +00:00
"description": "content slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "empty",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyfilter",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty filter template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template of panel."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template of panel."
2023-02-28 08:29:30 +00:00
},
{
"name": "indicator",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom indicator template."
2023-02-28 08:29:30 +00:00
},
{
"name": "loader",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Options of the loader items for virtualscroller\n }",
2023-03-02 18:54:13 +00:00
"description": "loader slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom loader template."
2023-02-28 08:29:30 +00:00
},
{
"name": "option",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom option template."
2023-02-28 08:29:30 +00:00
},
{
"name": "optiongroup",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option group slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom option group template."
2023-02-28 08:29:30 +00:00
},
{
"name": "value",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>placeholder</b>: string, // Placeholder prop value\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "value slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom value template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"dynamicdialog": {
2023-03-06 10:59:56 +00:00
"description": "DynamicDialogs can be created dynamically with any component as the content using a DialogService.\n\n[Live Demo](https://primevue.org/dynamicdialog)",
2023-03-02 18:54:13 +00:00
"components": {
"default": {
"description": "DynamicDialogs can be created dynamically with any component as the content using a DialogService.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"DynamicDialogEmits": {
"description": "Defines valid emits in DynamicDialog component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"DynamicDialogProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in DynamicDialog component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
},
"DynamicDialogSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in DynamicDialog component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-06 10:59:56 +00:00
"dynamicdialogoptions": {
"description": "[Live Demo](https://www.primevue.org/dynamicdialog/)",
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"DynamicDialogCloseOptions": {
2023-03-06 10:59:56 +00:00
"description": "Dynamic Dialog close method options.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "data",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Custom data object"
},
{
"name": "type",
"optional": false,
"readonly": false,
2023-03-06 10:59:56 +00:00
"type": "undefined | \"config-close\" | \"dialog-close\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Close type"
}
],
"methods": []
},
"DynamicDialogInstance": {
2023-03-06 10:59:56 +00:00
"description": "Custom Dynamic Dialog options.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "close",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "content",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Dynamic component for content template"
},
{
"name": "data",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Custom data object"
},
{
"name": "options",
"optional": false,
"readonly": false,
"type": "DynamicDialogOptions",
"default": "",
"description": "Instance options"
}
],
"methods": []
},
"DynamicDialogOptions": {
2023-03-06 10:59:56 +00:00
"description": "Custom Dynamic Dialog options.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "data",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Custom data object"
},
{
"name": "props",
"optional": true,
"readonly": false,
"type": "DialogProps",
"default": "",
"description": "Dialog Props"
},
{
"name": "templates",
"optional": true,
"readonly": false,
"type": "DynamicDialogTemplates",
"default": "",
"description": "Dialog Slots"
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": [
{
"name": "onClose",
"parameters": [
{
"name": "options",
"optional": true,
"type": "DynamicDialogCloseOptions"
}
],
"returnType": "void",
"description": "Closes the dialog."
}
]
},
"DynamicDialogTemplates": {
2023-03-06 10:59:56 +00:00
"description": "Custom dialog templates.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "footer",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Custom footer template."
},
{
"name": "header",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Custom header template."
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"editor": {
"description": "Editor groups a collection of contents in tabs.\n\n[Live Demo](https://www.primevue.org/editor/)",
"components": {
"default": {
"description": "Editor groups a collection of contents in tabs.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"EditorEmits": {
"description": "Defines valid emits in Editor component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
{
"name": "load",
"parameters": [
{
"name": "event",
"optional": false,
"type": "EditorLoadEvent",
"description": "Custom load event."
}
],
"returnType": "void",
"description": "Callback to invoke when the quill modules are loaded."
},
{
"name": "selection-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "EditorSelectionChangeEvent",
"description": "Custom selection change event."
}
],
"returnType": "void",
"description": "Callback to invoke when selection of the text changes."
},
{
"name": "text-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "EditorTextChangeEvent",
"description": "Custom text change event."
}
],
"returnType": "void",
"description": "Callback to invoke when text of editor changes."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "string",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"EditorLoadEvent": {
"description": "Custom load event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "EditorEmits.load",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "instance",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Text editor instance."
}
],
"methods": []
},
"EditorProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Editor component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "editorStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the container."
},
{
"name": "formats",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Whitelist of formats to display, see [here](https://quilljs.com/docs/formats/) for available options."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Value of the content."
},
{
"name": "modules",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Modules configuration, see [here](https://quilljs.com/docs/modules/) for available options."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text to show when editor is empty."
},
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether to instantiate the editor to readonly mode."
}
],
"methods": []
},
"EditorSelectionChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom selection change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "EditorEmits['selection-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "htmlValue",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Current value as html."
},
{
"name": "instance",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Text editor instance."
},
{
"name": "oldRange",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Representation of the previous selection boundaries."
},
{
"name": "range",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Representation of the selection boundaries."
},
{
"name": "source",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Source of change. Will be either 'user' or 'api'."
},
{
"name": "textValue",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Current value as text."
}
],
"methods": []
},
"EditorSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Editor slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "toolbar",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
},
"EditorTextChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom text change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "EditorEmits['text-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "delta",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Representation of the change."
},
{
"name": "htmlValue",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Current value as html."
},
{
"name": "instance",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Text editor instance."
},
{
"name": "source",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Source of change. Will be either 'user' or 'api'."
},
{
"name": "textValue",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Current value as text."
}
],
"methods": []
}
}
}
},
2023-02-28 17:39:29 +00:00
"fieldset": {
"description": "Fieldset is a grouping component with the optional content toggle feature.\n\n[Live Demo](https://www.primevue.org/fieldset/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 17:39:29 +00:00
"description": "Fieldset is a grouping component with the optional content toggle feature.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-02-28 17:39:29 +00:00
"FieldsetEmits": {
"description": "Defines valid emits in Fildset component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "toggle",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FieldsetToggleEvent",
"description": "Custom toggle event."
}
],
"returnType": "void",
"description": "Callback to invoke when a tab gets expanded or collapsed."
},
{
"name": "update:collapsed",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the collapsed changes."
}
]
},
2023-02-28 08:29:30 +00:00
"FieldsetProps": {
2023-02-28 17:39:29 +00:00
"description": "Defines valid properties in Fieldset component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "collapsed",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 17:39:29 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines the default visibility state of the content."
},
{
"name": "legend",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Header text of the fieldset."
},
{
"name": "toggleButtonProps",
"optional": true,
"readonly": false,
2023-03-06 10:59:56 +00:00
"type": "AnchorHTMLAttributes",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-06 10:59:56 +00:00
"description": "Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component."
2023-02-28 08:29:30 +00:00
},
{
"name": "toggleable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-02-28 17:39:29 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, content can toggled by clicking the legend."
}
],
"methods": []
},
"FieldsetSlots": {
2023-02-28 17:39:29 +00:00
"description": "Defines valid slots in Fieldset slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "default",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "legend",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
},
"FieldsetToggleEvent": {
2023-02-28 17:39:29 +00:00
"description": "Custom toggle event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FieldsetEmits.toggle",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Collapsed state as a boolean"
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"fileupload": {
"description": "FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.\n\n[Live Demo](https://www.primevue.org/fileupload/)",
"components": {
"default": {
"description": "FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"FileUploadBeforeSendEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom before send event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits['before-send']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "formData",
"optional": false,
"readonly": false,
"type": "FormData",
"default": "",
"description": "FormData object."
},
{
"name": "xhr",
"optional": false,
"readonly": false,
"type": "XMLHttpRequest",
"default": "",
"description": "XmlHttpRequest instance."
}
],
"methods": []
},
"FileUploadBeforeUploadEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom before upload event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits['before-upload']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "formData",
"optional": false,
"readonly": false,
"type": "FormData",
"default": "",
"description": "FormData object."
},
{
"name": "xhr",
"optional": false,
"readonly": false,
"type": "XMLHttpRequest",
"default": "",
"description": "XmlHttpRequest instance."
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"FileUploadEmits": {
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "before-send",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadBeforeSendEvent",
"description": "Custom before send event."
}
],
"returnType": "void",
"description": "Callback to invoke before file send begins to customize the request such as adding headers."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "before-upload",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadBeforeUploadEvent",
"description": "Custom before upload event."
}
],
"returnType": "void",
"description": "Callback to invoke before file upload begins to customize the request such as post parameters before the files."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "clear",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when files in queue are removed without uploading."
},
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "error",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadErrorEvent",
"description": "Custom error event."
}
],
"returnType": "void",
"description": "Callback to invoke if file upload fails."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "progress",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadProgressEvent",
"description": "Custom progress event."
}
],
"returnType": "void",
"description": "Callback to invoke when files are being uploaded."
},
{
"name": "remove",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadRemoveEvent",
"description": "Custom remove event."
}
],
"returnType": "void",
"description": "Callback to invoke when a singe file is removed from the list."
},
{
"name": "removeUploadedFile",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadRemoveUploadedFile",
"description": "Custom uploaded file remove event."
}
],
"returnType": "void",
"description": "Callback to invoke when a single uploaded file is removed from the uploaded file list."
},
{
"name": "select",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadSelectEvent",
"description": "Custom select event."
}
],
"returnType": "void",
"description": "Callback to invoke when files are selected."
},
{
"name": "upload",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadUploadEvent",
"description": "Custom upload event."
}
],
"returnType": "void",
"description": "Callback to invoke when file upload is complete."
},
{
"name": "uploader",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FileUploadUploaderEvent",
"description": "Custom uploader event."
}
],
"returnType": "void",
"description": "Callback to invoke to implement a custom upload."
}
]
},
"FileUploadErrorEvent": {
"description": "Custom error event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits.error",
2023-03-02 18:54:13 +00:00
"props": [
{
"name": "files",
"optional": false,
"readonly": false,
"type": "File | File[]",
"default": "",
"description": "Files that are not uploaded."
},
{
"name": "xhr",
"optional": false,
"readonly": false,
"type": "XMLHttpRequest",
"default": "",
"description": "XmlHttpRequest instance."
}
],
"methods": []
},
"FileUploadProgressEvent": {
"description": "Custom progress event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits.progress",
2023-03-02 18:54:13 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "progress",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Calculated progress value."
}
],
"methods": []
},
"FileUploadProps": {
"description": "Defines valid properties in FileUpload component.",
"relatedProp": "",
"props": [
{
"name": "accept",
2023-02-28 08:29:30 +00:00
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Pattern to restrict the allowed file types such as 'image/*'."
},
{
"name": "auto",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, upload begins automatically after selection is completed."
},
{
"name": "cancelIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-fw pi-times",
2023-02-28 08:29:30 +00:00
"description": "Icon of the cancel button."
},
{
"name": "cancelLabel",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "Cancel",
"description": "Label of the cancel button. Defaults to PrimeVue Locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "chooseIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-fw pi-plus",
2023-02-28 08:29:30 +00:00
"description": "Icon of the choose button."
},
{
"name": "chooseLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Label of the choose button. Defaults to PrimeVue Locale configuration."
},
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the component."
},
{
"name": "customUpload",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-03 08:18:55 +00:00
"default": "",
2023-02-28 08:29:30 +00:00
"description": "Whether to use the default upload or a manual implementation defined in uploadHandler callback. Defaults to PrimeVue Locale configuration."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Disables the upload functionality."
},
{
"name": "fileLimit",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Maximum number of files that can be uploaded."
},
{
"name": "invalidFileLimitMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "Maximum number of files to be uploaded is {0.}",
2023-03-02 18:54:13 +00:00
"description": "Message to display when number of files to be uploaded exceeeds the limit."
2023-02-28 08:29:30 +00:00
},
{
"name": "invalidFileSizeMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": ": Invalid file size, file size should be smaller than {1.}",
2023-03-02 18:54:13 +00:00
"description": "Message of the invalid fize size."
2023-02-28 08:29:30 +00:00
},
{
"name": "invalidFileTypeMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0}: Invalid file type.'",
2023-03-02 18:54:13 +00:00
"description": "Message of the invalid fize type."
2023-02-28 08:29:30 +00:00
},
{
"name": "maxFileSize",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Maximum file size allowed in bytes."
},
{
"name": "mode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"basic\" | \"advanced\"",
2023-03-08 11:02:08 +00:00
"default": "advanced",
2023-02-28 08:29:30 +00:00
"description": "Defines the UI of the component, possible values are 'advanced' and 'basic'."
},
{
"name": "multiple",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Used to select multiple files at once from file dialog."
},
{
"name": "name",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the request parameter to identify the files at backend."
},
{
"name": "previewWidth",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "50",
"description": "Width of the image thumbnail in pixels."
2023-02-28 08:29:30 +00:00
},
{
"name": "showCancelButton",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show the cancel button."
2023-02-28 08:29:30 +00:00
},
{
"name": "showUploadButton",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show the upload button."
2023-02-28 08:29:30 +00:00
},
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the component."
},
{
"name": "uploadIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-fw pi-upload",
2023-02-28 08:29:30 +00:00
"description": "Icon of the upload button."
},
{
"name": "uploadLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Label of the upload button. Defaults to PrimeVue Locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "url",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Remote url to upload the files."
},
{
"name": "withCredentials",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates."
}
],
"methods": []
},
"FileUploadRemoveEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom remove event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits.remove",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "file",
"optional": false,
"readonly": false,
"type": "File",
"default": "",
"description": "Removed file."
},
{
"name": "files",
"optional": false,
"readonly": false,
"type": "File[]",
"default": "",
"description": "Remaining files to be uploaded."
}
],
"methods": []
},
"FileUploadRemoveUploadedFile": {
2023-03-02 18:54:13 +00:00
"description": "Custom remove upload file event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits['remove-uploaded-file']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "file",
"optional": false,
"readonly": false,
"type": "File",
"default": "",
"description": "Removed file."
},
{
"name": "files",
"optional": false,
"readonly": false,
"type": "File[]",
"default": "",
"description": "Remaining files to be uploaded."
}
],
"methods": []
},
"FileUploadSelectEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom select event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits.select",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "files",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "List of selected files."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
}
],
"methods": []
},
"FileUploadSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in FileUpload slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>files</b>: File, // Files to upload.\n \t <b>messages</b>: undefined, // Status messages about upload process.\n \t <b>progress</b>: number, // Uploaded progress as number.\n \t <b>uploadedFiles</b>: File, // Uploaded files.\n \t <b>removeFileCallback(index: number)</b>: void, // Function to remove a file.\n \t <b>removeUploadedFileCallback(index: number)</b>: void, // Function to remove an uploaded file.\n }"
2023-03-02 18:54:13 +00:00
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom uploaded content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "empty",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content when there is no selected file."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>files</b>: File, // Files to upload.\n \t <b>uploadedFiles</b>: File, // Uploaded files.\n \t <b>chooseCallback()</b>: void, // Choose function\n \t <b>clearCallback()</b>: void, // Clear function\n \t <b>uploadCallback()</b>: void, // Upload function\n }"
2023-03-02 18:54:13 +00:00
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header content template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
},
"FileUploadUploadEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom upload event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits.upload",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "files",
"optional": false,
"readonly": false,
"type": "File | File[]",
"default": "",
"description": "Files that are not uploaded."
},
{
"name": "xhr",
"optional": false,
"readonly": false,
"type": "XMLHttpRequest",
"default": "",
"description": "XmlHttpRequest instance."
}
],
"methods": []
},
"FileUploadUploaderEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom uploader event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "FileUploadEmits.uploader",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "files",
"optional": false,
"readonly": false,
"type": "File | File[]",
"default": "",
"description": "List of selected files."
}
],
"methods": []
}
}
2023-03-02 18:54:13 +00:00
}
},
"focustrap": {
2023-03-06 10:59:56 +00:00
"description": "Focus Trap keeps focus within a certain DOM element while tabbing.\n\n[Live Demo](https://primevue.org/focustrap)",
2023-03-02 18:54:13 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
2023-02-28 08:29:30 +00:00
"values": {
2023-03-02 18:54:13 +00:00
"FocusTrapDirectiveBinding": {
"description": "Binding of FocusTrap directive.",
"relatedProp": "",
"props": [
{
"name": "value",
"optional": true,
"readonly": false,
"type": "FocusTrapOptions",
"default": "",
"description": "Value of the FocusTrap."
}
],
"methods": [],
"extendedTypes": "Omit<DirectiveBinding, \"modifiers\" | \"value\">"
},
"FocusTrapOptions": {
"description": "Defines options of FocusTrap.",
"relatedProp": "",
"props": [
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "When present, it specifies that the directive should be disabled."
}
],
"methods": []
2023-02-28 08:29:30 +00:00
}
}
}
},
"fullcalendar/FullCalendar": {
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"FullCalendarProps": {
"relatedProp": "",
"props": [
{
"name": "events",
"optional": true,
"readonly": false,
"type": "any[]",
"default": ""
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "object",
"default": ""
}
],
"methods": []
},
"FullCalendarSlots": {
"relatedProp": "",
"props": [],
"methods": []
}
}
},
"types": {
"description": "Defines the custom types used by the module.",
"values": {
"FullCalendarEmits": {
"values": "{}"
}
}
}
},
2023-03-02 18:54:13 +00:00
"galleria": {
"description": "Galleria is an advanced content gallery component.\n\n[Live Demo](https://www.primevue.org/galleria/)",
"components": {
"default": {
"description": "Galleria is an advanced content gallery component.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"GalleriaEmits": {
"description": "Defines valid emits in Galleria component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "update:activeIndex",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "Index of new active item."
}
],
"returnType": "void",
"description": "Emitted when the active index changes."
},
{
"name": "update:visible",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the visible changes."
}
]
},
2023-02-28 08:29:30 +00:00
"GalleriaProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Galleria component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "activeIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Index of the first item."
2023-02-28 08:29:30 +00:00
},
{
"name": "autoPlay",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Items are displayed with a slideshow in autoPlay mode."
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "changeItemOnIndicatorHover",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, item is changed on indicator hover."
},
{
"name": "circular",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if scrolling would be infinite."
},
{
"name": "containerClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the component on fullscreen mode. Otherwise, the 'class' property can be used."
},
{
"name": "containerProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the container element on fullscreen mode."
},
{
"name": "containerStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the component on fullscreen mode. Otherwise, the 'style' property can be used."
},
{
"name": "fullScreen",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display the component on fullscreen."
},
{
"name": "id",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Unique identifier of the element."
},
{
"name": "indicatorsPosition",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"left\" | \"top\" | \"bottom\" | \"right\"",
2023-03-08 11:02:08 +00:00
"default": "bottom",
2023-02-28 08:29:30 +00:00
"description": "Position of indicators."
},
{
"name": "maskClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the mask on fullscreen mode."
},
{
"name": "nextButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the next navigation button."
},
{
"name": "numVisible",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "3",
2023-02-28 08:29:30 +00:00
"description": "Number of items per page."
},
{
"name": "prevButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the previous navigation button."
},
{
"name": "responsiveOptions",
"optional": true,
"readonly": false,
"type": "GalleriaResponsiveOptions[]",
"default": "",
"description": "An array of options for responsive design."
},
{
"name": "showIndicators",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display indicator container."
},
{
"name": "showIndicatorsOnItem",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, indicator container is displayed on item container."
},
{
"name": "showItemNavigators",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display navigation buttons in item section."
},
{
"name": "showItemNavigatorsOnHover",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display navigation buttons on item hover."
},
{
"name": "showThumbnailNavigators",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to display navigation buttons in thumbnail container."
2023-02-28 08:29:30 +00:00
},
{
"name": "showThumbnails",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to display thumbnail container."
2023-02-28 08:29:30 +00:00
},
{
"name": "thumbnailsPosition",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"left\" | \"top\" | \"bottom\" | \"right\"",
2023-03-08 11:02:08 +00:00
"default": "bottom",
2023-02-28 08:29:30 +00:00
"description": "Position of thumbnails."
},
{
"name": "transitionInterval",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "4000",
"description": "Time in milliseconds to scroll items."
2023-02-28 08:29:30 +00:00
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of objects to display."
},
{
"name": "verticalThumbnailViewPortHeight",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "300px",
2023-03-02 18:54:13 +00:00
"description": "Height of the viewport in vertical thumbnail."
2023-02-28 08:29:30 +00:00
},
{
"name": "visible",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Specifies the visibility of the mask on fullscreen mode."
}
],
"methods": []
},
"GalleriaResponsiveOptions": {
"relatedProp": "",
"props": [
{
"name": "breakpoint",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Breakpoint for responsive mode. Exp;"
},
{
"name": "numVisible",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "The number of visible items on breakpoint."
}
],
"methods": []
},
"GalleriaSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Galleria slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "caption",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: any, // Item instance\n }",
2023-03-02 18:54:13 +00:00
"description": "caption slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom caption template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "indicator",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the indicator item\n }",
2023-03-02 18:54:13 +00:00
"description": "indicator slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom indicator template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: any, // Item instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
},
{
"name": "thumbnail",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: any, // Item instance\n }",
2023-03-02 18:54:13 +00:00
"description": "thumbnail slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom thumbnail template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"image": {
"description": "Displays an image with preview and tranformation options. For multiple image, see Galleria.\n\n[Live Demo](https://www.primevue.org/image/)",
"components": {
"default": {
"description": "Displays an image with preview and tranformation options. For multiple image, see Galleria.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "error",
"parameters": [],
"returnType": "void",
"description": "Triggered when an error occurs while loading an image file."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Triggered when the preview overlay is hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Triggered when the preview overlay is shown."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ImageEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ImageProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Image component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "imageClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the image element."
},
{
"name": "imageStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the image element."
},
{
"name": "preview",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Controls the preview functionality."
}
],
"methods": []
},
"ImageSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Image slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "indicator",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom indicator template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"inlinemessage": {
"description": "InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, severity of the message.\n\n[Live Demo](https://www.primevue.org/inlinemessage/)",
"components": {
"default": {
"description": "InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, severity of the message.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"InlineMessageEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"InlineMessageProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in InlineMessage component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "severity",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"error\" | \"success\" | \"info\" | \"warn\"",
2023-03-08 11:02:08 +00:00
"default": "info",
2023-02-28 08:29:30 +00:00
"description": "Severity level of the message."
}
],
"methods": []
},
"InlineMessageSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in InlineMessage slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default custom slot."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"inplace": {
"description": "Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.\n\n[Live Demo](https://www.primevue.org/inplace)",
"components": {
"default": {
"description": "Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"InplaceEmits": {
"description": "Defines valid emits in Inplace component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "close",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when inplace is closed."
},
{
"name": "open",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when inplace is opened."
},
{
"name": "update:active",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the active changes."
}
]
},
2023-02-28 08:29:30 +00:00
"InplaceProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Inplace component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "active",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the content is displayed or not."
},
{
"name": "closable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Displays a button to switch back to display mode."
},
{
"name": "closeButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the close button."
},
{
"name": "closeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the close button."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the element should be disabled."
},
{
"name": "displayProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to display container."
}
],
"methods": []
},
"InplaceSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Inplace component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "display",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom display template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"inputmask": {
"description": "InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone.\n\n[Live Demo](https://www.primevue.org/inputmask/)",
"components": {
"default": {
"description": "InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
2023-02-28 08:29:30 +00:00
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"InputMaskEmits": {
"description": "Defines valid emits in InputMask component.",
"relatedProp": "",
"props": [
{
"name": "complete",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "keypress",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "paste",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event"
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event"
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "keydown",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event"
}
],
"returnType": "void",
"description": "Callback to invoke when a key is pressed."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "string",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"InputMaskProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in InputMask component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "autoClear",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Clears the incomplete value on blur."
2023-02-28 08:29:30 +00:00
},
{
"name": "mask",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Mask pattern."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Value of the component."
},
2023-03-02 18:54:13 +00:00
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Whether the items are clickable or not."
},
2023-02-28 08:29:30 +00:00
{
"name": "slotChar",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "_",
2023-03-02 18:54:13 +00:00
"description": "Placeholder character in mask, default is underscore."
2023-02-28 08:29:30 +00:00
},
{
"name": "unmask",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if model sets the raw unmasked value to bound value or the formatted mask value."
}
],
"methods": []
},
"InputMaskSlots": {
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"inputnumber": {
"description": "InputNumber is an input component to provide numerical input.\n\n[Live Demo](https://www.primevue.org/inputnumber/)",
"components": {
"default": {
"description": "InputNumber is an input component to provide numerical input.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"InputNumberBlurEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom blur event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "InputNumberEmits.blur",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Input value"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"InputNumberEmits": {
"description": "Defines valid emits in InputNumber component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "InputNumberBlurEvent",
"description": "Blur event"
}
],
"returnType": "void",
"description": "Callback to invoke on blur of input field."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Focus event"
}
],
"returnType": "void",
"description": "Callback to invoke on focus of input field."
},
{
"name": "input",
"parameters": [
{
"name": "event",
"optional": false,
"type": "InputNumberInputEvent",
"description": "Custom input event."
}
],
"returnType": "void",
"description": "Callback to invoke when the value is entered."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"InputNumberInputEvent": {
"description": "Custom input event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "InputNumberEmits.input",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "undefined | string | number",
"default": "",
"description": "New value"
}
],
"methods": []
},
"InputNumberProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in InputNumber component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "allowEmpty",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Determines whether the input field is empty."
2023-02-28 08:29:30 +00:00
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "buttonLayout",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"horizontal\" | \"vertical\" | \"stacked\"",
2023-03-08 11:02:08 +00:00
"default": "stacked",
2023-03-03 08:18:55 +00:00
"description": "Layout of the buttons."
2023-02-28 08:29:30 +00:00
},
{
"name": "currency",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "The currency to use in currency formatting. Possible values are the [ISO 4217 currency codes](https://www.six-group.com/en/products-services/financial-information/data-standards.html#scrollTo=maintenance-agency), such as 'USD' for the US dollar, 'EUR' for the euro, or 'CNY' for the Chinese RMB.\nThere is no default value; if the style is 'currency', the currency property must be provided."
},
{
"name": "currencyDisplay",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "symbol",
2023-03-03 08:18:55 +00:00
"description": "How to display the currency in currency formatting. Possible values are 'symbol' to use a localized currency symbol such as €, 'code' to use the ISO currency code, 'name' to use a localized currency name such as 'dollar'."
2023-02-28 08:29:30 +00:00
},
{
"name": "decrementButtonClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the decrement button."
},
{
"name": "decrementButtonIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-angle-down",
2023-03-03 08:18:55 +00:00
"description": "Style class of the decrement button."
2023-02-28 08:29:30 +00:00
},
{
"name": "decrementButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to decrement button inside the component."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "format",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
2023-02-28 08:29:30 +00:00
"description": "Whether to format the value."
},
{
"name": "highlightOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "Highlights automatically the input value."
2023-02-28 08:29:30 +00:00
},
{
"name": "incrementButtonClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the increment button."
},
{
"name": "incrementButtonIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-angle-up",
2023-03-03 08:18:55 +00:00
"description": "Style class of the increment button."
2023-02-28 08:29:30 +00:00
},
{
"name": "incrementButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to increment button inside the component."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the focus input to match a label defined for the chips."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "locale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to be used in formatting."
},
{
"name": "localeMatcher",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"best fit\" | \"lookup\"",
2023-03-08 11:02:08 +00:00
"default": "best fit",
2023-03-03 08:18:55 +00:00
"description": "The locale matching algorithm to use. Possible values are 'lookup' and 'best fit'; the default is 'best fit'.\nSee [Locale Negotation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_negotiation) for details."
2023-02-28 08:29:30 +00:00
},
{
"name": "max",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Maximum boundary value."
},
{
"name": "maxFractionDigits",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3;\nthe default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the [ISO 4217 currency code](https://www.six-group.com/en/products-services/financial-information/data-standards.html#scrollTo=maintenance-agency) list (2 if the list doesn't provide that information)."
},
{
"name": "min",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Mininum boundary value."
},
{
"name": "minFractionDigits",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0;\nthe default for currency formatting is the number of minor unit digits provided by the [ISO 4217 currency code](https://www.six-group.com/en/products-services/financial-information/data-standards.html#scrollTo=maintenance-agency) list (2 if the list doesn't provide that information)."
},
{
"name": "mode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"decimal\" | \"currency\"",
2023-03-08 11:02:08 +00:00
"default": "decimal",
2023-03-03 08:18:55 +00:00
"description": "Defines the behavior of the component."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "Nullable<number>",
"default": "",
"description": "Value of the component."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text for the input."
},
{
"name": "prefix",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text to display before the value."
},
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that an input field is read-only."
},
{
"name": "showButtons",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Displays spinner buttons."
},
{
"name": "step",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
"description": "Step factor to increment/decrement the value."
2023-02-28 08:29:30 +00:00
},
{
"name": "suffix",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text to display after the value."
},
{
"name": "useGrouping",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"InputNumberSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in InputNumber component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"inputswitch": {
"description": "InputSwitch is used to select a boolean value.\n\n[Live Demo](https://www.primevue.org/inputswitch/)",
"components": {
"default": {
"description": "InputSwitch is used to select a boolean value.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"InputSwitchEmits": {
"description": "Defines valid emits in InputSwitch component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on click."
},
{
"name": "input",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"InputSwitchProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in InputSwitch component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "falseValue",
"optional": true,
"readonly": false,
"type": "any",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Value in unchecked state."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "string | boolean",
"default": "",
"description": "Specifies whether a inputswitch should be checked or not."
},
{
"name": "trueValue",
"optional": true,
"readonly": false,
"type": "any",
2023-03-02 18:54:13 +00:00
"default": "true",
2023-02-28 08:29:30 +00:00
"description": "Value in checked state."
}
],
"methods": []
},
"InputSwitchSlots": {
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"inputtext": {
"description": "InputText renders a text field to enter data.\n\n[Live Demo](https://www.primevue.org/inputtext/)",
"components": {
"default": {
"description": "InputText renders a text field to enter data.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"InputTextEmits": {
"description": "Defines valid emits in InputText component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "undefined | string",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"InputTextProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in InputText component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "Nullable<string>",
"default": "",
"description": "Value of the component."
}
],
"methods": [],
"extendedTypes": "InputHTMLAttributes"
},
"InputTextSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in InputText component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
"knob": {
"description": "Knob is a form component to define number inputs with a dial.\n\n[Live Demo](https://www.primevue.org/knob/)",
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"KnobEmits": {
"description": "Defines valid emits in Knob component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "change",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number"
}
],
"returnType": "void",
"description": "Callback to invoke when the value changes."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number"
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"KnobProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Knob component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Used to define a string that labels the element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "max",
"optional": true,
"readonly": false,
"type": "number",
"default": "100",
"description": "Maximum boundary value."
},
{
"name": "min",
"optional": true,
"readonly": false,
"type": "number",
"default": "0",
"description": "Mininum boundary value."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Value of the component."
},
{
"name": "rangeColor",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "var(--surface-border, LightGray)",
2023-02-28 08:29:30 +00:00
"description": "Background color of the range."
},
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component value cannot be edited."
},
{
"name": "showValue",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
2023-02-28 08:29:30 +00:00
"description": "Whether the show the value inside the knob."
},
{
"name": "size",
"optional": true,
"readonly": false,
"type": "number",
"default": "100",
"description": "Size of the component in pixels."
},
{
"name": "step",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
2023-02-28 08:29:30 +00:00
"description": "Step factor to increment/decrement the value."
},
{
"name": "strokeWidth",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "14",
2023-02-28 08:29:30 +00:00
"description": "Width of the knob stroke."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
2023-02-28 08:29:30 +00:00
"description": "Index of the element in tabbing order."
},
{
"name": "textColor",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "var(--text-color-secondary, Black)",
2023-02-28 08:29:30 +00:00
"description": "Color of the value text."
},
{
"name": "valueColor",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "var(--primary-color, Black)",
2023-02-28 08:29:30 +00:00
"description": "Background of the value."
},
{
"name": "valueTemplate",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{value}'",
2023-02-28 08:29:30 +00:00
"description": "Template string of the value."
}
],
"methods": []
},
"KnobSlots": {
"description": "Defines valid slots in Knob component.",
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"listbox": {
"description": "ListBox is used to select one or more values from a list of items.\n\n[Live Demo](https://www.primevue.org/listbox/)",
"components": {
"default": {
"description": "ListBox is used to select one or more values from a list of items.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"ListboxChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "ListboxEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Original event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected option value"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"ListboxEmits": {
"description": "Defines valid emits in Listbox component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "ListboxChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "filter",
"parameters": [
{
"name": "event",
"optional": false,
"type": "ListboxFilterEvent",
"description": "Custom filter event."
}
],
"returnType": "void",
"description": "Callback to invoke on filter input."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"ListboxFilterEvent": {
"description": "Custom filter event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "ListboxEmits.filter",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Original event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Filter value"
}
],
"methods": []
},
"ListboxProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Listbox component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "autoOptionFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to focus on the first visible or selected element."
2023-02-28 08:29:30 +00:00
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "A property to uniquely identify an option."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, disables the component."
},
{
"name": "emptyFilterMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found",
2023-03-02 18:54:13 +00:00
"description": "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found",
2023-03-02 18:54:13 +00:00
"description": "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptySelectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No selected item",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "filter",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, displays a filter input at header."
},
{
"name": "filterFields",
"optional": true,
"readonly": false,
"type": "string[]",
"default": "",
"description": "Fields used when filtering the options, defaults to optionLabel."
},
{
"name": "filterIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "ß",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in filter input."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterInputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the filter input inside the component."
},
{
"name": "filterLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in filtering. The default locale is the host environment's current locale."
},
{
"name": "filterMatchMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"endsWith\" | \"startsWith\" | \"contains\"",
2023-03-08 11:02:08 +00:00
"default": "contains",
2023-02-28 08:29:30 +00:00
"description": "Defines the filtering algorithm to use when searching the options."
},
{
"name": "filterMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} results are available'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterPlaceholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text to show when filter input is empty."
},
{
"name": "listStyle",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Inline style of inner list element."
},
{
"name": "metaKeySelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.\nOn touch enabled devices, metaKeySelection is turned off automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "multiple",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, allows selecting multiple values."
},
{
"name": "optionDisabled",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
{
"name": "optionGroupChildren",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function that refers to the children options of option group."
},
{
"name": "optionGroupLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option group."
},
{
"name": "optionLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option."
},
{
"name": "optionValue",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of selectitems to display as the available options."
},
{
"name": "selectOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "When enabled, the focused option is selected."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} items selected'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
},
{
"name": "virtualScrollerOptions",
"optional": true,
"readonly": false,
"type": "VirtualScrollerProps",
"default": "",
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
}
],
"methods": []
},
"ListboxSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Listbox component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
2023-03-02 18:54:13 +00:00
"description": "content slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "empty",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyfilter",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom emptyfilter template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "loader",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Options of the loader items for virtualscroller\n }",
2023-03-02 18:54:13 +00:00
"description": "loader slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom loader template."
2023-02-28 08:29:30 +00:00
},
{
"name": "option",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom option template."
2023-02-28 08:29:30 +00:00
},
{
"name": "optiongroup",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "optiongroup slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom optiongroup template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"megamenu": {
"description": "MegaMenu is navigation component that displays submenus together.\n\n[Live Demo](https://www.primevue.org/megamenu/)",
"components": {
"default": {
"description": "MegaMenu is navigation component that displays submenus together.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"MegaMenuEmits": {
"description": "Defines valid emits in MegaMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
}
]
},
"MegaMenuProps": {
"description": "Defines valid properties in MegaMenu component.",
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
2023-02-28 08:29:30 +00:00
"type": "string",
"default": "",
"description": "Identifier of the underlying menu element."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
},
{
"name": "orientation",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"horizontal\" | \"vertical\"",
2023-03-08 11:02:08 +00:00
"default": "horizontal",
2023-02-28 08:29:30 +00:00
"description": "Defines the orientation."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"MegaMenuSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in MegaMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "end",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
},
{
"name": "start",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom start template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"menu": {
"description": "Menu is a navigation / command component that supports dynamic and static positioning.\n\n[Live Demo](https://www.primevue.org/menu/)",
"components": {
"default": {
"description": "Menu is a navigation / command component that supports dynamic and static positioning.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Hides the overlay."
},
{
"name": "show",
"parameters": [
{
"name": "event",
"type": "Event",
"description": "Browser event."
},
{
"name": "target",
"type": "any",
"description": "Target element"
}
],
"returnType": "void",
"description": "Shows the overlay."
},
{
"name": "toggle",
"parameters": [
{
"name": "event",
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Toggles the visibility of the overlay."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"MenuEmits": {
"description": "Defines valid emits in Menu component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
}
]
},
2023-02-28 08:29:30 +00:00
"MenuProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Menu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
},
{
"name": "popup",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if menu would displayed as a popup."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"MenuSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Menu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "end",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
},
{
"name": "start",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom start template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"menubar": {
"description": "Menubar is a horizontal menu component.\n\n[Live Demo](https://www.primevue.org/menubar/)",
"components": {
"default": {
"description": "Menubar is a horizontal menu component.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"MenubarEmits": {
"description": "Defines valid emits in Menubar component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"MenubarProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Menubar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "buttonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the menu button."
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
}
],
"methods": []
},
"MenubarSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Menubar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "end",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
},
{
"name": "start",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom start template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"menuitem": {
"description": "PrimeVue menu components share a common api to specify the menuitems and submenus.",
2023-03-03 08:18:55 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"MenuItem": {
"description": "Defines model of MenuItem API.",
"relatedProp": "",
"props": [
2023-02-28 08:29:30 +00:00
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the menuitem."
},
2023-03-07 22:49:05 +00:00
{
"name": "command",
"optional": true,
"readonly": false,
"type": "Function",
"default": ""
},
2023-02-28 08:29:30 +00:00
{
"name": "disabled",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "boolean | Function",
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "A boolean or a function to return a boolean to specify if the item is disabled."
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon of the item."
},
{
"name": "items",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of children menuitems."
},
{
"name": "key",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Unique identifier of an item."
},
{
"name": "label",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an item."
},
{
"name": "separator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines the item as a separator."
},
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the menuitem."
},
{
"name": "target",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Specifies where to open the linked document."
},
{
"name": "to",
"optional": true,
"readonly": false,
"type": "RouteLocationRaw",
"default": "",
"description": "Route configuration such as path, name and parameters."
},
{
"name": "url",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "External link to navigate when item is clicked."
},
{
"name": "visible",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "boolean | Function",
"default": "true",
2023-02-28 08:29:30 +00:00
"description": "A boolean or a function to return a boolean to specify if the item is visible."
2023-03-03 08:18:55 +00:00
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
2023-03-07 22:49:05 +00:00
"methods": []
2023-03-03 08:18:55 +00:00
},
2023-02-28 08:29:30 +00:00
"MenuItemCommandEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom command event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "MenuItem.command",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "item",
"optional": false,
"readonly": false,
"type": "MenuItem",
"default": "",
"description": "Menuitem instance."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"message": {
"description": "Message groups a collection of contents in tabs.\n\n[Live Demo](https://www.primevue.org/message/)",
"components": {
"default": {
"description": "Messages is used to display inline messages with various severities.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"MessageEmits": {
"description": "Defines valid emits in Message component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "close",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when a message is closed."
}
]
},
2023-02-28 08:29:30 +00:00
"MessageProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Message component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "closable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether the message can be closed manually using the close icon."
2023-02-28 08:29:30 +00:00
},
{
"name": "closeButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the close button."
},
{
"name": "closeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the message close button."
2023-02-28 08:29:30 +00:00
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Display a custom icon for the message."
},
{
"name": "life",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "3000",
"description": "Delay in milliseconds to close the message automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "severity",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"error\" | \"success\" | \"info\" | \"warn\"",
2023-03-08 11:02:08 +00:00
"default": "info",
2023-02-28 08:29:30 +00:00
"description": "Severity level of the message."
},
{
"name": "sticky",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
2023-02-28 08:29:30 +00:00
"description": "When enabled, message is not removed automatically."
}
],
"methods": []
},
"MessageSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Message slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default custom slot."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"multiselect": {
"description": "MultiSelect is used to select multiple items from a collection.\n\n[Live Demo](https://www.primevue.org/multiselect/)",
"components": {
"default": {
"description": "MultiSelect is used to select multiple items from a collection.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "hide",
"parameters": [
{
"name": "isFocus",
"type": "boolean",
"description": "Decides whether to focus on the component. Default value is false."
}
],
"returnType": "void",
"description": "Hides the overlay."
},
{
"name": "show",
"parameters": [
{
"name": "isFocus",
"type": "boolean",
"description": "Decides whether to focus on the component. Default value is false."
}
],
"returnType": "void",
"description": "Shows the overlay."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"MultiSelectAllChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom all change event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "MultiSelectEmits['selectall-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "checked",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether all data is selected."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": []
},
"MultiSelectChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "MultiSelectEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Selected option value"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"MultiSelectEmits": {
"description": "Defines valid emits in MultiSelect component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
{
"name": "before-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is hidden."
},
{
"name": "before-show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is shown."
},
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "MultiSelectChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "filter",
"parameters": [
{
"name": "event",
"optional": false,
"type": "MultiSelectFilterEvent",
"description": "Custom filter event."
}
],
"returnType": "void",
"description": "Callback to invoke on filter input."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is hidden."
},
{
"name": "selectall-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "MultiSelectAllChangeEvent",
"description": "Custom select all change event."
}
],
"returnType": "void",
"description": "Callback to invoke when all data is selected."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is shown."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"MultiSelectFilterEvent": {
"description": "Custom filter event",
2023-03-06 10:59:56 +00:00
"relatedProp": "MultiSelectEmits.filter",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Original event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Filter value"
}
],
"methods": []
},
"MultiSelectProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in MultiSelect component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "autoFilterFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "Whether to focus on the filter element when the overlay panel is shown."
2023-02-28 08:29:30 +00:00
},
{
"name": "autoOptionFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to focus on the first visible or selected element when the overlay panel is shown."
2023-02-28 08:29:30 +00:00
},
{
"name": "checkboxIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-check",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the checkboxes."
2023-02-28 08:29:30 +00:00
},
{
"name": "closeButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the clear button inside the overlay panel."
},
{
"name": "closeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the dropdown close button."
2023-02-28 08:29:30 +00:00
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "A property to uniquely identify an option."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "display",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"comma\" | \"chip\"",
2023-03-08 11:02:08 +00:00
"default": "comma",
2023-02-28 08:29:30 +00:00
"description": "Defines how the selected items are displayed."
},
{
"name": "dropdownIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-down",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the dropdown."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyFilterMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found",
2023-03-02 18:54:13 +00:00
"description": "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found'",
2023-03-02 18:54:13 +00:00
"description": "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptySelectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No selected item",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "filter",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, displays a filter input at header."
},
{
"name": "filterFields",
"optional": true,
"readonly": false,
"type": "string[]",
"default": "",
"description": "Fields used when filtering the options, defaults to optionLabel."
},
{
"name": "filterIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-search",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in filter input."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterInputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel."
},
{
"name": "filterLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in filtering. The default locale is the host environment's current locale."
},
{
"name": "filterMatchMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"endsWith\" | \"startsWith\" | \"contains\"",
2023-03-08 11:02:08 +00:00
"default": "contains",
2023-02-28 08:29:30 +00:00
"description": "Defines the filtering algorithm to use when searching the options."
},
{
"name": "filterMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} results are available'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterPlaceholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text to show when filter input is empty."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the multiselect is in loading state."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-spinner pi-spin",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in loading state."
2023-02-28 08:29:30 +00:00
},
{
"name": "maxSelectedLabels",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Decides how many selected item labels to show at most."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "optionDisabled",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
{
"name": "optionGroupChildren",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function that refers to the children options of option group."
},
{
"name": "optionGroupLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option group."
},
{
"name": "optionLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option."
},
{
"name": "optionValue",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of selectitems to display as the available options."
},
{
"name": "panelClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "panelProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the overlay panel."
},
{
"name": "panelStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the overlay panel."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Label to display when there are no selections."
},
{
"name": "removeTokenIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times-circle",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in chip remove action."
2023-02-28 08:29:30 +00:00
},
{
"name": "resetFilterOnHide",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Clears the filter value when hiding the dropdown."
},
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "200px",
2023-03-02 18:54:13 +00:00
"description": "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectAll",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether all data is selected."
},
{
"name": "selectedItemsLabel",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} items selected'",
2023-03-02 18:54:13 +00:00
"description": "Label to display after exceeding max selected labels."
2023-02-28 08:29:30 +00:00
},
{
"name": "selectionLimit",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Maximum number of selectable items."
},
{
"name": "selectionMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'{0} items selected'",
2023-03-02 18:54:13 +00:00
"description": "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "showToggleAll",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show the header checkbox to toggle the selection of all items at once."
2023-02-28 08:29:30 +00:00
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
},
{
"name": "virtualScrollerOptions",
"optional": true,
"readonly": false,
"type": "VirtualScrollerProps",
"default": "",
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
}
],
"methods": []
},
"MultiSelectSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in MultiSelect component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "chip",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>value</b>: any, // A value in the selection\n }",
2023-03-02 18:54:13 +00:00
"description": "chip slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom chip template."
2023-02-28 08:29:30 +00:00
},
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
2023-03-02 18:54:13 +00:00
"description": "content slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "empty",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template."
2023-02-28 08:29:30 +00:00
},
{
"name": "emptyfilter",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom emptyfilter template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Displayed options\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "indicator",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom indicator template."
2023-02-28 08:29:30 +00:00
},
{
"name": "loader",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: any, // Options of the loader items for virtualscroller\n }",
2023-03-02 18:54:13 +00:00
"description": "loader slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom loader template."
2023-02-28 08:29:30 +00:00
},
{
"name": "option",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom option template."
2023-02-28 08:29:30 +00:00
},
{
"name": "optiongroup",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option group slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom option group template."
2023-02-28 08:29:30 +00:00
},
{
"name": "value",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>placeholder</b>: string, // Placeholder prop value\n \t <b>value</b>: any, // Value of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "value slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom value template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"orderlist": {
2023-03-06 10:59:56 +00:00
"description": "OrderList is used to managed the order of a collection.\n\n[Live Demo](https://primevue.org/orderlist)",
2023-03-02 18:54:13 +00:00
"components": {
"default": {
"description": "OrderList is used to sort a collection.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"OrderListEmits": {
"description": "Defines valid slots in OrderList component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "reorder",
"parameters": [
{
"name": "event",
"optional": false,
"type": "OrderListReorderEvent",
"description": "Custom reorder event."
}
],
"returnType": "void",
"description": "Callback to invoke when the list is reordered."
},
{
"name": "selection-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "OrderListSelectionChangeEvent",
"description": "Custom selection change event."
}
],
"returnType": "void",
"description": "Callback to invoke when selection changes."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
},
{
"name": "update:selection",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the selection changes."
}
]
},
2023-02-28 08:29:30 +00:00
"OrderListProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in OrderList component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive list element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying list element."
},
{
"name": "breakpoint",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "960px",
2023-03-02 18:54:13 +00:00
"description": "The breakpoint to define the maximum width boundary when responsiveness is enabled."
2023-02-28 08:29:30 +00:00
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the field that uniquely identifies the a record in the data."
},
{
"name": "listProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLAttributes to the list element."
},
{
"name": "listStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the the list element."
},
{
"name": "metaKeySelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Defines whether metaKey is requred or not for the selection.\nWhen true metaKey needs to be pressed to select or unselect an item and\nwhen set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Value of the component."
},
{
"name": "moveBottomButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move bottom button inside the component."
},
{
"name": "moveDownButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move down button inside the component."
},
{
"name": "moveTopButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move top button inside the component."
},
{
"name": "moveUpButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move up button inside the component."
},
{
"name": "responsive",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether the list optimizes layout based on screen size."
2023-02-28 08:29:30 +00:00
},
{
"name": "selection",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Selected items in the list."
},
{
"name": "stripedRows",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether to displays rows with alternating colors."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"OrderListReorderEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom reorder event",
2023-03-07 13:37:45 +00:00
"relatedProp": "OrderListEmits.reorder",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "direction",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Direction of the change; 'up', 'down', 'bottom', 'top'"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Ordered list"
}
],
"methods": []
},
"OrderListSelectionChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom selection change event",
2023-03-07 13:37:45 +00:00
"relatedProp": "OrderListEmits['selection-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Ordered list"
}
],
"methods": []
},
"OrderListSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in OrderList component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "controlsend",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom controls end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "controlsstart",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom controls start template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the item.\n \t <b>item</b>: any, // Item of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"organizationchart": {
"description": "OrganizationChart visualizes hierarchical organization data.\n\n[Live Demo](https://primevue.org/organizationchart)",
"components": {
"default": {
"description": "OrganizationChart visualizes hierarchical organization data.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"OrganizationChartCollapsedKeys": {
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"OrganizationChartEmits": {
"description": "Defines valid emits in OrganizationChart component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "node-collapsed",
"parameters": [
{
"name": "node",
"optional": false,
"type": "OrganizationChartNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is collapsed."
},
{
"name": "node-expand",
"parameters": [
{
"name": "node",
"optional": false,
"type": "OrganizationChartNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is expanded."
},
{
"name": "node-select",
"parameters": [
{
"name": "node",
"optional": false,
"type": "OrganizationChartNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a suggestion is selected."
},
{
"name": "node-unselect",
"parameters": [
{
"name": "node",
"optional": false,
"type": "OrganizationChartNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is unselected."
},
{
"name": "update:collapsedKeys",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
},
{
"name": "update:selectionKeys",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"OrganizationChartNode": {
"description": "Defines valid properties in OrganizationChartNode.",
"relatedProp": "",
"props": [
{
"name": "children",
"optional": true,
"readonly": false,
2023-02-28 08:29:30 +00:00
"type": "OrganizationChartNode[]",
"default": "",
"description": "Children nodes array."
},
{
"name": "collapsible",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether node is collapsible when node expansion is enabled.\nDefault value is true."
},
{
"name": "data",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Data represented by the node."
},
{
"name": "key",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Unique identifier of the node. (required)"
},
{
"name": "selectable",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether node is selectable when selection is enabled.\nDefault value is true."
},
{
"name": "styleClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the node content."
},
{
"name": "type",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Type of the node to match a template."
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"OrganizationChartProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in OrganizationChart component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "collapsedKeys",
"optional": true,
"readonly": false,
"type": "OrganizationChartCollapsedKeys",
"default": "",
"description": "A map instance of key-value pairs to represented the collapsed nodes."
},
{
"name": "collapsible",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the nodes can be expanded or toggled."
},
{
"name": "selectionKeys",
"optional": true,
"readonly": false,
"type": "OrganizationChartSelectionKeys",
"default": "",
"description": "A map instance of key-value pairs to represented the selected nodes."
},
{
"name": "selectionMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"multiple\" | \"single\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Type of the selection."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "OrganizationChartNode",
"default": "",
"description": "Value of the component."
}
],
"methods": []
},
"OrganizationChartSelectionKeys": {
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"OrganizationChartSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in OrganizationChart component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-07 13:47:32 +00:00
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "Function"
}
],
2023-03-02 18:54:13 +00:00
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "node",
"optional": false,
"type": "any"
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"overlaypanel": {
2023-03-06 10:59:56 +00:00
"description": "OverlayPanel is a container component positioned as connected to its target.\n\n[Live Demo](https://primevue.org/overlaypanel)",
2023-03-02 18:54:13 +00:00
"components": {
"default": {
"description": "OverlayPanel, also known as Popover, is a container component that can overlay other components on page.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Hides the overlay."
},
{
"name": "show",
"parameters": [
{
"name": "event",
"type": "Event",
"description": "Browser event."
},
{
"name": "target",
"type": "any",
"description": "Optional target if event.currentTarget should not be used."
}
],
"returnType": "void",
"description": "Shows the overlay."
},
{
"name": "toggle",
"parameters": [
{
"name": "event",
"type": "Event",
"description": "Browser event."
},
{
"name": "target",
"type": "any",
"description": "Optional target if event.currentTarget should not be used."
}
],
"returnType": "void",
"description": "Toggles the visibility of the overlay."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"OverlayPanelBreakpoints": {
2023-03-02 18:54:13 +00:00
"description": "OverlayPanel breakpoint metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "string"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"OverlayPanelEmits": {
"description": "Defines valid emits in OverlayPanel component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is shown."
}
]
},
2023-02-28 08:29:30 +00:00
"OverlayPanelProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in OverlayPanel component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "breakpoints",
"optional": true,
"readonly": false,
"type": "OverlayPanelBreakpoints",
"default": "",
"description": "Object literal to define widths per screen size."
},
{
"name": "dismissable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Enables to hide the overlay when outside is clicked."
2023-02-28 08:29:30 +00:00
},
{
"name": "showCloseIcon",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, displays a close icon at top right corner."
}
],
"methods": []
},
"OverlayPanelSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in OverlayPanel component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"paginator": {
"description": "Paginator is a generic component to display content in paged format.\n\n- [Paginator](https://primevue.org/paginator)",
"components": {
"default": {
"description": "Paginator is a generic widget to display content in paged format.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"PageState": {
2023-03-02 18:54:13 +00:00
"description": "Paginator page state metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "page",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New page number"
},
{
"name": "pageCount",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Total number of pages"
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"PaginatorEmits": {
"description": "Defines valid emits in Paginator component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "page",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PageState",
"description": "New page state."
}
],
"returnType": "void",
"description": "Callback to invoke when page changes, the event object contains information about the new state."
},
{
"name": "update:first",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the first changes."
},
{
"name": "update:rows",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the rows changes."
}
]
},
2023-02-28 08:29:30 +00:00
"PaginatorProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Paginator component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "alwaysShow",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show the paginator even there is only one page."
2023-02-28 08:29:30 +00:00
},
{
"name": "currentPageReportTemplate",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'({currentPage} of {totalPages})'",
2023-03-02 18:54:13 +00:00
"description": "Template of the current page report element. It displays information about the pagination state. Available placeholders are the following;\n\n- {currentPage}\n- {totalPages}\n- {rows}\n- {first}\n- {last}\n- {totalRecords}"
2023-02-28 08:29:30 +00:00
},
{
"name": "first",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Zero-relative number of the first row to be displayed."
2023-02-28 08:29:30 +00:00
},
{
"name": "pageLinkSize",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "5",
"description": "Number of page links to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "rows",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Data count to display per page."
2023-02-28 08:29:30 +00:00
},
{
"name": "rowsPerPageOptions",
"optional": true,
"readonly": false,
"type": "number[]",
"default": "",
"description": "Array of integer values to display inside rows per page dropdown."
},
{
"name": "template",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Template of the paginator, can either be a string or an object with key-value pairs to define templates per breakpoint.\n\n- FirstPageLink\n- PrevPageLink\n- PageLinks\n- NextPageLink\n- LastPageLink\n- RowsPerPageDropdown\n- JumpToPageDropdown\n- JumpToPageInput\n- CurrentPageReport"
},
{
"name": "totalRecords",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Number of total records."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"PaginatorSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Paginator component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "end",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>state</b>: PageState, // Current state\n }",
2023-03-02 18:54:13 +00:00
"description": "end slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "start",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>state</b>: PageState, // Current state\n }",
2023-03-02 18:54:13 +00:00
"description": "start slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom start template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-02-28 17:39:29 +00:00
"panel": {
"description": "Panel is a container with the optional content toggle feature.\n\n[Live Demo](https://www.primevue.org/panel/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 17:39:29 +00:00
"description": "Panel is a container with the optional content toggle feature.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-02-28 17:39:29 +00:00
"PanelEmits": {
"description": "Defines valid emits in Panel component.",
"relatedProp": "",
"props": [
{
"name": "toggle",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "update:collapsed",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
},
2023-02-28 08:29:30 +00:00
"PanelProps": {
2023-02-28 17:39:29 +00:00
"description": "Defines valid properties in Panel component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "collapsed",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Defines the initial state of panel content."
},
{
"name": "header",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Header text of the panel."
},
{
"name": "toggleButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass the custom value to read for the button inside the component."
},
{
"name": "toggleable",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Defines if content of panel can be expanded and collapsed."
}
],
"methods": []
},
"PanelSlots": {
2023-02-28 17:39:29 +00:00
"description": "Defines valid slots in Panel slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-02-28 17:39:29 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-02-28 17:39:29 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-02-28 17:39:29 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "icons",
2023-02-28 17:39:29 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom icons template."
2023-02-28 08:29:30 +00:00
}
2023-02-28 17:39:29 +00:00
]
2023-02-28 08:29:30 +00:00
},
"PanelToggleEvent": {
2023-02-28 17:39:29 +00:00
"description": "Custom toggle event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "PanelEmits.toggle",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Collapsed state as a boolean"
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"panelmenu": {
"description": "PanelMenu is a hybrid of Accordion and Tree components.\n\n[Live Demo](https://www.primevue.org/panelmenu/)",
"components": {
"default": {
"description": "PanelMenu is a hybrid of Accordion and Tree components.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"PanelMenuEmits": {
"description": "Defines valid emits in PanelMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
{
"name": "panel-close",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PanelMenuPanelCloseEvent",
"description": "Custom panel close event."
}
],
"returnType": "void",
"description": "Callback to invoke when an active panel is collapsed by clicking on the header."
},
{
"name": "panel-open",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PanelMenuPanelOpenEvent",
"description": "Custom panel open event."
}
],
"returnType": "void",
"description": "Callback to invoke when a panel gets expanded."
},
{
"name": "update:expandedKeys",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the expandedKeys changes."
}
]
},
"PanelMenuExpandedKeys": {
"description": "Custom expanded keys metadata.",
2023-03-06 10:59:56 +00:00
"relatedProp": "PanelMenuProps.expandedKeys",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"PanelMenuPanelCloseEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom panel close event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "PanelMenuEmits['panel-close']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "item",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Current item."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "MouseEvent",
"default": "",
"description": "Browser mouse event."
}
],
"methods": [],
"extendedTypes": "PanelMenuPanelOpenEvent"
},
"PanelMenuPanelOpenEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom panel open event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "PanelMenuEmits['panel-open']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "item",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Current item."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "MouseEvent",
"default": "",
"description": "Browser mouse event."
}
],
"methods": [],
"extendedBy": "PanelMenuPanelCloseEvent"
},
"PanelMenuProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in PanelMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
2023-02-28 08:29:30 +00:00
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
},
{
"name": "expandedKeys",
"optional": true,
"readonly": false,
"type": "PanelMenuExpandedKeys",
"default": "",
"description": "A map of keys to represent the expansion state in controlled mode."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"PanelMenuSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in PanelMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for each item."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"password": {
"description": "Password displays strength indicator for password fields.\n\n[Live Demo](https://www.primevue.org/password/)",
"components": {
"default": {
"description": "Password displays strength indicator for password fields.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"PasswordEmits": {
"description": "Defines valid emits in Password component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "string",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"PasswordProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Password component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-03-02 18:54:13 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
2023-02-28 08:29:30 +00:00
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "feedback",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show the strength indicator or not."
2023-02-28 08:29:30 +00:00
},
{
"name": "hideIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-eye-slash",
2023-03-02 18:54:13 +00:00
"description": "Icon to hide displaying the password as plain text."
2023-02-28 08:29:30 +00:00
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "mediumLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text for a medium password. Defaults to PrimeVue Locale configuration."
},
{
"name": "mediumRegex",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})",
2023-03-02 18:54:13 +00:00
"description": "Regex for a medium level password."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "Nullable<string>",
"default": "",
"description": "Value of the component."
},
{
"name": "panelClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "panelId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying overlay panel element."
},
{
"name": "panelProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
},
{
"name": "panelStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the overlay panel."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text for the input."
},
{
"name": "promptLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text to prompt password entry. Defaults to PrimeVue Locale configuration."
},
{
"name": "required",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "When present, it specifies that an input field must be filled out before submitting the form."
2023-02-28 08:29:30 +00:00
},
{
"name": "showIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-eye",
2023-03-02 18:54:13 +00:00
"description": "Icon to show displaying the password as plain text."
2023-02-28 08:29:30 +00:00
},
{
"name": "strongLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text for a strong password. Defaults to PrimeVue Locale configuration."
},
{
"name": "strongRegex",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})",
2023-03-02 18:54:13 +00:00
"description": "Regex for a strong level password."
2023-02-28 08:29:30 +00:00
},
{
"name": "toggleMask",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to show an icon to display the password as plain text."
},
{
"name": "weakLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text for a weak password. Defaults to PrimeVue Locale configuration."
}
],
"methods": [],
"extendedTypes": "InputHTMLAttributes"
},
"PasswordSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Password component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"picklist": {
2023-03-06 10:59:56 +00:00
"description": "PickList is used to reorder items between different lists.\n\n[Live Demo](https://primevue.org/picklist)",
2023-03-02 18:54:13 +00:00
"components": {
"default": {
"description": "PickList is used to reorder items between different lists.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"PickListEmits": {
"description": "Defines valid emits in PickList component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "move-all-to-source",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PickListMoveAllToSourceEvent",
"description": "Custom move all to source event."
}
],
"returnType": "void",
"description": "Callback to invoke when all items are moved to the source list."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "move-all-to-target",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PickListMoveAllToTargetEvent",
"description": "Custom move all to target event."
}
],
"returnType": "void",
"description": "Callback to invoke when all items are moved to the target list."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "move-to-source",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PickListMoveToSourceEvent",
"description": "Custom move to source event."
}
],
"returnType": "void",
"description": "Callback to invoke when one or more items are moved to the source list."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "move-to-target",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PickListMoveToTargetEvent",
"description": "Custom move to target event."
}
],
"returnType": "void",
"description": "Callback to invoke when one or more items are moved to the target list."
},
{
"name": "reorder",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PickListReorderEvent",
"description": "Custom reorder event."
}
],
"returnType": "void",
"description": "Callback to invoke when the list is reordered."
},
{
"name": "selection-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "PickListSelectionChangeEvent",
"description": "Custom selection change event."
}
],
"returnType": "void",
"description": "Callback to invoke when one or more items are moved to the other list."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[][]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
},
{
"name": "update:selection",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any[][]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the selection changes."
}
]
},
"PickListMoveAllToSourceEvent": {
"description": "Custom move-all-to-source event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "PickListEmits['move-all-to-target']",
2023-03-02 18:54:13 +00:00
"props": [
{
"name": "items",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Moved items"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedTypes": "PickListMoveToTargetEvent"
},
"PickListMoveAllToTargetEvent": {
"description": "Custom move-all-to-target event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "PickListEmits['move-all-to-target']",
2023-03-02 18:54:13 +00:00
"props": [
{
"name": "items",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Moved items"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedTypes": "PickListMoveToTargetEvent"
},
"PickListMoveToSourceEvent": {
"description": "Custom move-to-source event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "PickListEmits['move-all-to-target']",
2023-03-02 18:54:13 +00:00
"props": [
{
"name": "items",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Moved items"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
2023-02-28 08:29:30 +00:00
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedTypes": "PickListMoveToTargetEvent"
},
"PickListMoveToTargetEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom move-to-target event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "PickListEmits['move-to-target']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "items",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Moved items"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedBy": "PickListMoveAllToTargetEvent,PickListMoveToSourceEvent,PickListMoveAllToSourceEvent"
},
"PickListProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in PickList component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "breakpoint",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "960px",
"description": "The breakpoint to define the maximum width boundary when responsiveness is enabled."
2023-02-28 08:29:30 +00:00
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the field that uniquely identifies the a record in the data."
},
{
"name": "listStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the the list element."
},
{
"name": "metaKeySelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Defines whether metaKey is requred or not for the selection.\nWhen true metaKey needs to be pressed to select or unselect an item and\nwhen set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any[][]",
"default": "",
"description": "Value of the component as a multidimensional array."
},
{
"name": "moveAllToSourceProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move all to source button inside the component."
},
{
"name": "moveAllToTargetProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move all to target button inside the component."
},
{
"name": "moveBottomButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move bottom button inside the component."
},
{
"name": "moveDownButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move down button inside the component."
},
{
"name": "moveToSourceProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move to source button inside the component."
},
{
"name": "moveToTargetProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move to target button inside the component."
},
{
"name": "moveTopButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move top button inside the component."
},
{
"name": "moveUpButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the move up button inside the component."
},
{
"name": "responsive",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether the list optimizes layout based on screen size."
2023-02-28 08:29:30 +00:00
},
{
"name": "selection",
"optional": true,
"readonly": false,
"type": "any[][]",
"default": "",
"description": "Selected items in the list as a multidimensional array."
},
{
"name": "showSourceControls",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to show buttons of source list."
},
{
"name": "showTargetControls",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to show buttons of target list."
},
{
"name": "sourceListProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLAttributes to the source list element."
},
{
"name": "stripedRows",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to displays rows with alternating colors."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the list element in tabbing order."
},
{
"name": "targetListProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLAttributes to the target list element."
}
],
"methods": []
},
"PickListReorderEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom reorder event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "PickListEmits.reorder",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "direction",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Direction of the change; 'up', 'down', 'bottom', 'top'"
},
{
"name": "listIndex",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the list that is ordered, 0 represents the source and 1 represents the target list."
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Ordered list"
}
],
"methods": []
},
"PickListSelectionChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom selection change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "PickListEmits['selection-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any[]",
"default": "",
"description": "Selected item"
}
],
"methods": []
},
"PickListSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in PickList component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the item\n \t <b>item</b>: any, // Item of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
},
{
"name": "movecontrolsend",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom move controls end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "movecontrolsstart",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom move controls start template."
2023-02-28 08:29:30 +00:00
},
{
"name": "sourcecontrolsend",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom source controls end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "sourcecontrolsstart",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom source controls start template."
2023-02-28 08:29:30 +00:00
},
{
"name": "sourceheader",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom source header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "targetcontrolsend",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom target controls end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "targetcontrolsstart",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom target controls start template."
2023-02-28 08:29:30 +00:00
},
{
"name": "targetheader",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom target header template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
"portal/Portal": {
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"PortalProps": {
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
"type": "PortalAppendToType",
"default": "",
"description": "A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "If disabled, the Portal feature is eliminated and the content is displayed directly."
}
],
"methods": []
},
"PortalSlots": {
"relatedProp": "",
"props": [
{
"name": "default",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
}
}
},
"types": {
"description": "Defines the custom types used by the module.",
"values": {
"PortalEmits": {
"values": "{}"
}
}
}
},
2023-03-02 18:54:13 +00:00
"progressbar": {
"description": "ProgressBar is a process status indicator.\n\n[Live Demo](https://www.primevue.org/progressbar)",
"components": {
"default": {
"description": "\n\n[Live Demo](https://www.primevue.org/progressbar/)\n--- ---\n![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ProgressBarEmits": {
"description": "Defines valid emits in ProgressBar component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ProgressBarProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ProgressBar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "mode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"indeterminate\" | \"determinate\"",
2023-03-08 11:02:08 +00:00
"default": "determinate",
2023-02-28 08:29:30 +00:00
"description": "Defines the mode of the progress"
},
{
"name": "showValue",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to display the progress bar value."
2023-02-28 08:29:30 +00:00
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Current value of the progress."
}
],
"methods": []
},
"ProgressBarSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ProgressBar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content slot."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"progressspinner": {
"description": "ProgressSpinner is a process status indicator.\n\n[Live Demo](https://www.primevue.org/progressspinner)",
"components": {
"default": {
"description": "ProgressSpinner is a process status indicator.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ProgressSpinnerEmits": {
"description": "Defines valid emits in ProgressSpinner component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ProgressSpinnerProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ProgressSpinner component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "animationDuration",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "2s",
2023-03-02 18:54:13 +00:00
"description": "Duration of the rotate animation."
2023-02-28 08:29:30 +00:00
},
{
"name": "fill",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Color for the background of the circle."
},
{
"name": "strokeWidth",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "2",
2023-03-02 18:54:13 +00:00
"description": "Width of the circle stroke."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"ProgressSpinnerSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ProgressSpinner component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"radiobutton": {
"description": "RadioButton is an extension to standard radio button element with theming.\n\n[Live Demo](https://www.primevue.org/radiobutton/)",
"components": {
"default": {
"description": "RadioButton is an extension to standard radio button element with theming.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"RadioButtonEmits": {
"description": "Defines valid emits in RadioButton component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on radio button value change."
},
{
"name": "click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on radio button click."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"RadioButtonProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in RadioButton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value binding of the checkbox."
},
{
"name": "name",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the input element."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the checkbox."
}
],
"methods": []
},
"RadioButtonSlots": {
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"rating": {
"description": "Rating component is a star based selection input.\n\n[Live Demo](https://www.primevue.org/rating/)",
"components": {
"default": {
"description": "Rating component is a star based selection input.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"RatingChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "RatingEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Selected option value"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"RatingEmits": {
"description": "Defines valid emits in Rating component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "RatingChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke when a suggestion is selected."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"RatingProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Rating component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "cancel",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "When specified a cancel icon is displayed to allow clearing the value."
2023-02-28 08:29:30 +00:00
},
{
"name": "cancelIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-ban",
2023-03-02 18:54:13 +00:00
"description": "Icon for the cancelable state."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the element should be disabled."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Value of the rating."
},
{
"name": "name",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the element."
},
{
"name": "offIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-star-fill",
2023-03-02 18:54:13 +00:00
"description": "Icon for the off state."
2023-02-28 08:29:30 +00:00
},
{
"name": "onIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-star",
2023-03-02 18:54:13 +00:00
"description": "Icon for the on state."
2023-02-28 08:29:30 +00:00
},
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that component is read-only."
},
{
"name": "stars",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "5",
"description": "Number of stars."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"RatingSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Rating component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "cancelicon",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom cancel icon template."
2023-02-28 08:29:30 +00:00
},
{
"name": "officon",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>value</b>: number, // Item value\n }",
2023-03-02 18:54:13 +00:00
"description": "off icon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom off icon template."
2023-02-28 08:29:30 +00:00
},
{
"name": "onicon",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>value</b>: number, // Item value\n }",
2023-03-02 18:54:13 +00:00
"description": "on icon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom on icon template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
2023-03-02 18:54:13 +00:00
}
},
"ripple": {
2023-03-06 10:59:56 +00:00
"description": "Ripple directive adds ripple effect to the host element.\n\n[Live Demo](https://primevue.org/ripple)",
2023-03-02 18:54:13 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
2023-02-28 08:29:30 +00:00
"values": {
2023-03-02 18:54:13 +00:00
"RippleDirectiveBinding": {
"description": "Binding of Ripple directive.",
"relatedProp": "",
"props": [],
"methods": [],
"extendedTypes": "Omit<DirectiveBinding, \"modifiers\" | \"value\">"
2023-02-28 08:29:30 +00:00
}
}
}
},
"row": {
2023-03-02 18:54:13 +00:00
"description": "Row component is a helper component used to create grouping structures in DataTable.\n\n[Live Demo](https://www.primereact.org/datatable/)",
"components": {
"default": {
"description": "Row component is a helper component used to create grouping structures in DataTable.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"RowEmits": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid emits in Row component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
},
"RowProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Row component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
},
"RowSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Row component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-02-28 17:39:29 +00:00
"scrollpanel": {
"description": "ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.\n\n[Live Demo](https://www.primevue.org/scrollpanel/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-02-28 17:39:29 +00:00
"description": "ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar..",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-02-28 17:39:29 +00:00
"ScrollPanelEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ScrollPanelProps": {
2023-02-28 17:39:29 +00:00
"description": "Defines valid properties in ScrollPanel component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "step",
"optional": true,
"readonly": false,
"type": "number",
2023-02-28 17:39:29 +00:00
"default": "5",
"description": "Step factor to scroll the content while pressing the arrow keys."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"ScrollPanelSlots": {
2023-02-28 17:39:29 +00:00
"description": "Defines valid slots in Accordion slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "default",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"scrolltop": {
"description": "ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.\n\n[Live Demo](https://www.primevue.org/scrolltop/)",
"components": {
"default": {
"description": "ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ScrollTopEmits": {
"description": "Defines valid emits in ScrollTop component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ScrollTopProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ScrollTop component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "behavior",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "smooth",
2023-03-02 18:54:13 +00:00
"description": "Defines the scrolling behaviour, 'smooth' adds an animation and 'auto' scrolls with a jump."
2023-02-28 08:29:30 +00:00
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-chevron-up",
2023-03-02 18:54:13 +00:00
"description": "Icon to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "target",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"window\" | \"parent\"",
2023-03-08 11:02:08 +00:00
"default": "window",
2023-02-28 08:29:30 +00:00
"description": "Target of the ScrollTop."
},
{
"name": "threshold",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "400",
"description": "Defines the threshold value of the vertical scroll position of the target to toggle the visibility."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"ScrollTopSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ScrollTop component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"selectbutton": {
"description": "SelectButton is used to choose single or multiple items from a list using buttons.\n\n[Live Demo](https://www.primevue.org/selectbutton/)",
"components": {
"default": {
"description": "SelectButton is used to choose single or multiple items from a list using buttons.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"SelectButtonChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "SelectButtonEmits.change",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Single value or an array of values that are selected."
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"SelectButtonEmits": {
"description": "Defines valid emits in SelectButton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on blur."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "SelectButtonChangeEvent",
"description": "Custom change event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event"
}
],
"returnType": "void",
"description": "Callback to invoke on focus."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
"SelectButtonProps": {
"description": "Defines valid properties in SelectButton component.",
"relatedProp": "",
"props": [
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying element."
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "A property to uniquely identify an option."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the element should be disabled."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "multiple",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, allows selecting multiple values."
},
{
"name": "optionDisabled",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
{
"name": "optionLabel",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the label of an option."
},
{
"name": "optionValue",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of selectitems to display as the available options."
},
{
"name": "unselectable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
2023-02-28 08:29:30 +00:00
"description": "Whether selection can be cleared."
}
],
"methods": []
},
"SelectButtonSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in SelectButton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "option",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of the option\n \t <b>option</b>: any, // Option instance\n }",
2023-03-02 18:54:13 +00:00
"description": "option slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for each option."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"sidebar": {
2023-03-06 10:59:56 +00:00
"description": "Sidebar is a panel component displayed as an overlay at the edges of the screen.\n\n[Live Demo](https://primevue.org/sidebar)",
2023-03-02 18:54:13 +00:00
"components": {
"default": {
"description": "Sidebar is a panel component displayed as an overlay.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"SidebarEmits": {
"description": "Defines valid emits in Sidebar component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when sidebar gets hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when sidebar gets shown."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"SidebarProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Sidebar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "blockScroll",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether background scroll should be blocked when sidebar is visible."
},
{
"name": "closeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-times",
2023-03-02 18:54:13 +00:00
"description": "Icon to display in the sidebar close button."
2023-02-28 08:29:30 +00:00
},
{
"name": "dismissable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether clicking outside closes the panel."
2023-02-28 08:29:30 +00:00
},
{
"name": "modal",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to a modal layer behind the sidebar."
2023-02-28 08:29:30 +00:00
},
{
"name": "position",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"left\" | \"top\" | \"bottom\" | \"right\" | \"full\"",
2023-03-08 11:02:08 +00:00
"default": "left",
2023-02-28 08:29:30 +00:00
"description": "Specifies the position of the sidebar."
},
{
"name": "showCloseIcon",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to display a close icon inside the panel."
2023-02-28 08:29:30 +00:00
},
{
"name": "visible",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Specifies the visibility of the dialog."
}
],
"methods": []
},
"SidebarSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Sidebar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"skeleton": {
"description": "Skeleton is a placeholder to display instead of the actual content.\n\n[Live Demo](https://www.primevue.org/skeleton/)",
"components": {
"default": {
"description": "Skeleton is a placeholder to display instead of the actual content.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"SkeletonEmits": {
"description": "Defines valid emits in Skeleton component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"SkeletonProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Skeleton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "animation",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"none\" | \"wave\"",
2023-03-08 11:02:08 +00:00
"default": "wave",
2023-02-28 08:29:30 +00:00
"description": "Type of the animation."
},
{
"name": "borderRadius",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Border radius of the element, defaults to value from theme."
},
{
"name": "height",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "1rem",
2023-03-02 18:54:13 +00:00
"description": "Height of the element."
2023-02-28 08:29:30 +00:00
},
{
"name": "shape",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"circle\" | \"rectangle\"",
2023-03-08 11:02:08 +00:00
"default": "rectangle",
2023-02-28 08:29:30 +00:00
"description": "Shape of the element."
},
{
"name": "size",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Size of the Circle or Square."
},
{
"name": "width",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "100%",
2023-03-02 18:54:13 +00:00
"description": "Width of the element."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"SkeletonSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Skeleton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"slider": {
"description": "Slider is a component to provide input with a drag handle.\n\n[Live Demo](https://www.primevue.org/slider/)",
"components": {
"default": {
"description": "Slider is a component to provide input with a drag handle.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"SliderEmits": {
"description": "Defines valid emits in Slider component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "change",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value"
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "slideend",
"parameters": [
{
"name": "event",
"optional": false,
"type": "SliderSlideEndEvent",
"description": "Custom slide end event."
}
],
"returnType": "void",
"description": "Callback to invoke when slide ends."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number | number[]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"SliderProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Slider component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Used to define a string that labels the element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "max",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "100",
"description": "Maximum boundary value."
2023-02-28 08:29:30 +00:00
},
{
"name": "min",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Mininum boundary value."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "number | number[]",
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Value of the component."
2023-02-28 08:29:30 +00:00
},
{
"name": "orientation",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"horizontal\" | \"vertical\"",
2023-03-08 11:02:08 +00:00
"default": "horizontal",
2023-02-28 08:29:30 +00:00
"description": "Orientation of the slider."
},
{
"name": "range",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When speficed, allows two boundary values to be picked."
},
{
"name": "step",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
"description": "Step factor to increment/decrement the value."
2023-02-28 08:29:30 +00:00
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"SliderSlideEndEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom slide end event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "SliderEmits.slideend",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Original event"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New value."
}
],
"methods": []
},
"SliderSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Slider component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"speeddial": {
"description": "When pressed, a floating action button can display multiple primary actions that can be performed on a page.\n\n[Live Demo](https://www.primevue.org/speeddial/)",
"components": {
"default": {
"description": "When pressed, a floating action button can display multiple primary actions that can be performed on a page.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
"interfaces": {
2023-02-28 08:29:30 +00:00
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"SpeedDialEmits": {
"description": "Defines valid emits in SpeedDial component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Fired when the button element clicked."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Fired when the actions are hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Fired when the actions are visible."
}
]
},
2023-02-28 08:29:30 +00:00
"SpeedDialProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in SpeedDial component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive list element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying list element."
},
{
"name": "buttonClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the button element."
},
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the element."
},
{
"name": "direction",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"left\" | \"right\" | \"up\" | \"down\" | \"up-left\" | \"up-right\" | \"down-left\" | \"down-right\"",
2023-03-08 11:02:08 +00:00
"default": "up",
2023-02-28 08:29:30 +00:00
"description": "Specifies the opening direction of actions."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the component is disabled."
},
{
"name": "hideIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Hide icon of the button element."
},
{
"name": "hideOnClickOutside",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether the actions close when clicked outside."
2023-02-28 08:29:30 +00:00
},
{
"name": "mask",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to show a mask element behind the speeddial."
},
{
"name": "maskClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the mask element."
},
{
"name": "maskStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the mask element."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "MenuModel instance to define the action items."
},
{
"name": "radius",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Radius for *circle types."
2023-02-28 08:29:30 +00:00
},
{
"name": "rotateAnimation",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Defined to rotate showIcon when hideIcon is not present."
2023-02-28 08:29:30 +00:00
},
{
"name": "showIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-plus",
2023-03-02 18:54:13 +00:00
"description": "Show icon of the button element."
2023-02-28 08:29:30 +00:00
},
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the element."
},
{
"name": "tooltipOptions",
"optional": true,
"readonly": false,
"type": "SpeedDialTooltipOptions",
"default": "",
"description": "Whether to display the tooltip on items. The modifiers of Tooltip can be used like an object in it. Valid keys are 'event' and 'position'."
},
{
"name": "transitionDelay",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "30",
"description": "Transition delay step for each action item."
2023-02-28 08:29:30 +00:00
},
{
"name": "type",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"linear\" | \"circle\" | \"semi-circle\" | \"quarter-circle\"",
2023-03-08 11:02:08 +00:00
"default": "linear",
2023-02-28 08:29:30 +00:00
"description": "Specifies the opening type of actions."
},
{
"name": "visible",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Specifies the visibility of the overlay."
}
],
"methods": []
},
"SpeedDialSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in SpeedDial component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "button",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>toggle()</b>: void, // Toggle metadata\n }",
2023-03-02 18:54:13 +00:00
"description": "button slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom button template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for each item."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
},
"SpeedDialTooltipOptions": {
2023-03-02 18:54:13 +00:00
"description": "Defines tooltip options.",
2023-03-06 10:59:56 +00:00
"relatedProp": "SpeedDialProps.tooltipOptions",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "event",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"focus\" | \"hover\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Event to show the tooltip, valid values are hover and focus."
},
{
"name": "position",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"left\" | \"top\" | \"bottom\" | \"right\"",
2023-03-08 11:02:08 +00:00
"default": "bottom",
2023-03-03 08:18:55 +00:00
"description": "Position of element."
2023-02-28 08:29:30 +00:00
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "any"
2023-02-28 08:29:30 +00:00
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"splitbutton": {
"description": "SplitButton groups a set of commands in an overlay with a default command.\n\n[Live Demo](https://www.primevue.org/splitbutton/)",
"components": {
"default": {
"description": "SplitButton groups a set of commands in an overlay with a default command.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"SplitButtonEmits": {
"description": "Defines valid emits in SplitButton component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when main button is clicked."
}
]
},
2023-02-28 08:29:30 +00:00
"SplitButtonProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in SplitButton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-03-02 18:54:13 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached.\nSpecial keywords are 'body' for document body and 'self' for the element itself."
2023-02-28 08:29:30 +00:00
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "buttonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the default button."
},
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the component."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the element should be disabled."
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the icon."
},
{
"name": "label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text of the button."
},
{
"name": "menuButtonIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the menu button icon."
},
{
"name": "menuButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the menu button."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "MenuModel instance to define the overlay items."
},
2023-03-06 10:59:56 +00:00
{
"name": "outlined",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a border class without a background initially."
},
{
"name": "plain",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a plain textual class to the button without a background initially."
},
{
"name": "raised",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a shadow to indicate elevation."
},
{
"name": "rounded",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a circular border radius to the button."
},
{
"name": "severity",
"optional": true,
"readonly": false,
"type": "\"success\" | \"help\" | \"info\" | \"warning\" | \"danger\" | \"secondary\"",
"default": "",
"description": "Defines the style of the button."
},
{
"name": "size",
"optional": true,
"readonly": false,
"type": "\"small\" | \"large\"",
"default": "",
"description": "Defines the size of the button."
},
2023-02-28 08:29:30 +00:00
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the component."
2023-03-06 10:59:56 +00:00
},
{
"name": "text",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Add a textual class to the button without a background initially."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"SplitButtonSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in SplitButton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Button part of the content can easily be customized with the default slot instead of using the built-in modes."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-01 06:00:39 +00:00
"splitter": {
"description": "Splitter is utilized to separate and resize panels.\n\n[Live Demo](https://www.primevue.org/splitter/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-03-01 06:00:39 +00:00
"description": "Splitter is utilized to separate and resize panels.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-01 06:00:39 +00:00
"SplitterEmits": {
"description": "Defines valid emits in Splitter component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "resizeend",
"parameters": [
{
"name": "event",
"optional": false,
"type": "SplitterResizeEndEvent",
"description": "Custom resize end event."
}
],
"returnType": "void",
"description": "Callback to invoke when resize ends."
},
{
"name": "resizestar",
"parameters": [
{
"name": "event",
"optional": false,
"type": "SplitterResizeStartEvent",
"description": "Custom resize start event."
}
],
"returnType": "void",
"description": "Callback to invoke when resize starts."
}
]
},
2023-02-28 08:29:30 +00:00
"SplitterProps": {
2023-03-01 06:00:39 +00:00
"description": "Defines valid properties in Splitter component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "gutterSize",
"optional": true,
"readonly": false,
"type": "number",
2023-03-01 06:00:39 +00:00
"default": "4",
"description": "Size of the divider in pixels."
2023-02-28 08:29:30 +00:00
},
{
"name": "layout",
"optional": true,
"readonly": false,
2023-03-01 06:00:39 +00:00
"type": "\"horizontal\" | \"vertical\"",
"default": "horizontal",
2023-02-28 08:29:30 +00:00
"description": "Orientation of the panels."
},
{
"name": "stateKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Storage identifier of a stateful Splitter."
},
{
"name": "stateStorage",
"optional": true,
"readonly": false,
2023-03-01 06:00:39 +00:00
"type": "\"local\" | \"session\"",
2023-03-08 11:02:08 +00:00
"default": "session",
2023-02-28 08:29:30 +00:00
"description": "Defines where a stateful splitter keeps its state, valid values are 'session' for sessionStorage and 'local' for localStorage."
},
{
"name": "step",
"optional": true,
"readonly": false,
"type": "number",
2023-03-01 06:00:39 +00:00
"default": "1",
"description": "Step factor to increment/decrement the size of the panels while pressing the arrow keys."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"SplitterResizeEndEvent": {
2023-03-01 06:00:39 +00:00
"description": "Custom resize end event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "undefined.PickListEmits.resizeend",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "sizes",
"optional": false,
"readonly": false,
"type": "number[]",
"default": "",
"description": "Sizes of the panels"
}
],
"methods": []
},
"SplitterResizeStartEvent": {
2023-03-01 06:00:39 +00:00
"description": "Custom resize start event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "SplitterEmits.resizestar",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
},
{
"name": "sizes",
"optional": false,
"readonly": false,
"type": "number[]",
"default": "",
"description": "Sizes of the panels"
}
],
"methods": []
},
"SplitterSlots": {
2023-03-01 06:00:39 +00:00
"description": "Defines valid slots in Splitter slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-01 06:00:39 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-01 06:00:39 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default slot to detect SplitterPanel components."
2023-02-28 08:29:30 +00:00
}
2023-03-01 06:00:39 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-01 06:00:39 +00:00
"splitterpanel": {
"description": "SplitterPanel is a helper component for Splitter component.\n\n[Live Demo](https://www.primevue.org/splitter/)",
"components": {
2023-03-02 18:54:13 +00:00
"default": {
2023-03-01 06:00:39 +00:00
"description": "SplitterPanel is a helper component for Splitter component.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-01 06:00:39 +00:00
"SplitterPanelEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"SplitterPanelProps": {
2023-03-01 06:00:39 +00:00
"description": "Defines valid properties in SplitterPanel component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "minSize",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Minimum size of the element relative to 100%."
},
{
"name": "size",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Size of the element relative to 100%."
}
],
"methods": []
},
"SplitterPanelSlots": {
2023-03-01 06:00:39 +00:00
"description": "Defines valid slots in SplitterPanel slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "default",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"steps": {
"description": "Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps.\n\n[Live Demo](https://www.primevue.org/steps/)",
"components": {
"default": {
"description": "Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"StepsEmits": {
"description": "Defines valid emits in Steps component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"StepsProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Steps component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "id",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Unique identifier of the element."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
},
{
"name": "readonly",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether the items are clickable or not."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"StepsSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Steps component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"styleclass": {
2023-03-06 10:59:56 +00:00
"description": "StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element.\n\n[Live Demo](https://primevue.org/styleclass)",
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"StyleClassDirectiveBinding": {
"description": "Binding of StyleClass directive.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
2023-03-02 18:54:13 +00:00
"name": "value",
"optional": true,
2023-02-28 08:29:30 +00:00
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "StyleClassOptions",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Value of the StyleClass."
2023-02-28 08:29:30 +00:00
}
],
2023-03-02 18:54:13 +00:00
"methods": [],
"extendedTypes": "Omit<DirectiveBinding, \"modifiers\" | \"value\">"
2023-02-28 08:29:30 +00:00
},
2023-03-02 18:54:13 +00:00
"StyleClassOptions": {
"description": "Defines options of StyleClass.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
2023-03-02 18:54:13 +00:00
"name": "enterActiveClassName",
2023-02-28 08:29:30 +00:00
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Style class to add during enter animation."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "enterClassName",
2023-02-28 08:29:30 +00:00
"optional": true,
"readonly": false,
"type": "string",
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Style class to add when item begins to get displayed."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "enterToClassName",
2023-02-28 08:29:30 +00:00
"optional": true,
"readonly": false,
"type": "string",
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Style class to add when item begins to get displayed."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "hideOnOutsideClick",
2023-02-28 08:29:30 +00:00
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "Whether to trigger leave animation when outside of the element is clicked."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "leaveActiveClassName",
2023-02-28 08:29:30 +00:00
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Style class to add during leave animation."
},
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "leaveClassName",
"optional": true,
2023-02-28 08:29:30 +00:00
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string",
"default": "",
"description": "Style class to add when item begins to get hidden."
},
{
"name": "leaveToClassName",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class to add when leave animation is completed."
},
{
"name": "selector",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Selector to define the target element. Available selectors are '@next', '@prev', '@parent' and '@grandparent'."
},
{
"name": "toggleClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Adds or removes a class when no enter-leave animation is required."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
}
}
2023-03-02 18:54:13 +00:00
}
},
"tabmenu": {
"description": "TabMenu is a navigation component that displays items as tab headers. Example below uses nested routes with TabMenu.\n\n[Live Demo](https://www.primevue.org/tabmenu/)",
"components": {
"default": {
"description": "TabMenu is a navigation component that displays items as tab headers. Example below uses nested routes with TabMenu.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
2023-02-28 08:29:30 +00:00
},
2023-03-02 18:54:13 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
2023-02-28 08:29:30 +00:00
"values": {
2023-03-02 18:54:13 +00:00
"TabMenuChangeEvent": {
"description": "Custom change event.",
2023-03-06 10:59:56 +00:00
"relatedProp": "TabMenuEmits['tab-change']",
2023-03-02 18:54:13 +00:00
"props": [
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the selected tab"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": []
},
2023-02-28 08:29:30 +00:00
"TabMenuEmits": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid emits in TabMenu component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "tab-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TabMenuChangeEvent",
"description": "Custom tab change event."
}
],
"returnType": "void",
"description": "Callback to invoke when an active tab is changed."
}
]
},
"TabMenuProps": {
"description": "Defines valid properties in TabMenu component.",
"relatedProp": "",
"props": [
{
"name": "activeIndex",
"optional": true,
"readonly": false,
"type": "number",
"default": "0",
"description": "Active index of menuitem."
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "true",
"description": "Defines if active route highlight should match the exact route path."
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
}
],
"methods": []
},
"TabMenuSlots": {
"description": "Defines valid slots in TabMenu component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "item",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for each item."
}
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"tabpanel": {
"description": "TabPanel is a helper component for TabPanel component.\n\n[Live Demo](https://www.primevue.org/tabview/)",
"components": {
"default": {
"description": "TabPanel is a helper component for TabPanel component.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TabPanelEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"TabPanelProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in TabPanel component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "contentClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the tab content."
},
{
"name": "contentProps",
"optional": true,
"readonly": false,
"type": "HTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLDivElement to the tab content."
},
{
"name": "contentStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the tab content."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the tab is disabled."
},
{
"name": "header",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Orientation of tab headers."
},
{
"name": "headerActionProps",
"optional": true,
"readonly": false,
"type": "AnchorHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header."
},
{
"name": "headerClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the tab header."
},
{
"name": "headerProps",
"optional": true,
"readonly": false,
"type": "LiHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLLiElement to the tab header."
},
{
"name": "headerStyle",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the tab header."
}
],
"methods": []
},
"TabPanelSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in TabPanel slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "default",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "header",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"tabview": {
"description": "TabView is a container component to group content with tabs.\n\n[Live Demo](https://www.primevue.org/tabview/)",
"components": {
"default": {
"description": "TabView is a container component to group content with tabs.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"TabViewChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom tab change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "TabViewEmits['tab-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the selected tab"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedBy": "TabViewClickEvent"
},
"TabViewClickEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom tab change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "TabViewEmits['tab-click']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of the selected tab"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event"
}
],
"methods": [],
"extendedTypes": "TabViewChangeEvent"
},
2023-03-02 18:54:13 +00:00
"TabViewEmits": {
"description": "Defines valid emits in TabView component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "tab-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TabViewChangeEvent",
"description": "Custom tab change event."
}
],
"returnType": "void",
"description": "Callback to invoke when an active tab is changed."
},
{
"name": "tab-click",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TabViewClickEvent",
"description": "Custom tab click event."
}
],
"returnType": "void",
"description": "Callback to invoke when an active tab is clicked."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"TabViewProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in TabView component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "activeIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
2023-02-28 08:29:30 +00:00
"description": "Index of the active tab."
},
{
"name": "lazy",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
},
{
"name": "nextButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the next button."
},
{
"name": "previousButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the previous button."
},
{
"name": "scrollable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled displays buttons at each side of the tab headers to scroll the tab list."
},
{
"name": "selectOnFocus",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, the focused tab is activated."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
2023-02-28 08:29:30 +00:00
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"TabViewSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in TabView slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Default slot to detect TabPanel components."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"tag": {
"description": "Tag component is used to categorize content.\n\n[Live Demo](https://www.primevue.org/tag)",
"components": {
"default": {
"description": "Tag component is used to categorize content.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TagEmits": {
"description": "Defines valid emits in Tag component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"TagProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Tag component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon of the tag to display next to the value."
},
{
"name": "rounded",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the corners of the tag are rounded."
},
{
"name": "severity",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"success\" | \"info\" | \"warning\" | \"danger\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Severity type of the tag."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value to display inside the tag."
}
],
"methods": []
},
"TagSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Tag component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "default",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template"
}
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"terminal": {
"description": "Terminal is a text based user interface.\n\n[Live Demo](https://www.primevue.org/terminal)",
"components": {
"default": {
"description": "Terminal is a text based user interface.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TerminalEmits": {
"description": "Defines valid emits in Terminal component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"TerminalProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Terminal component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "prompt",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Prompt text for each command."
},
{
"name": "welcomeMessage",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Initial text to display on terminal."
}
],
"methods": []
},
"TerminalSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Terminal component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-06 10:59:56 +00:00
"terminalservice": {
"description": "[Live Demo](https://www.primevue.org/terminal/)",
2023-03-07 13:37:45 +00:00
"model": {
"TerminalServiceOptions": {
"description": "Confirmation Service methods.",
"props": {
"description": "",
"values": []
},
"methods": {
"description": "",
"values": [
2023-02-28 08:29:30 +00:00
{
"name": "emit",
"parameters": [
{
"name": "action",
"optional": false,
2023-03-06 10:59:56 +00:00
"type": "undefined | \"command\" | \"response\""
2023-02-28 08:29:30 +00:00
},
{
"name": "params",
"optional": true,
"type": "any"
}
],
2023-03-06 10:59:56 +00:00
"returnType": "void",
"description": "Emits the terminal using the action options."
2023-02-28 08:29:30 +00:00
},
{
"name": "off",
"parameters": [
{
"name": "action",
"optional": false,
2023-03-06 10:59:56 +00:00
"type": "undefined | \"command\" | \"response\""
2023-02-28 08:29:30 +00:00
},
{
"name": "fn",
"optional": false,
"type": "any"
}
],
2023-03-06 10:59:56 +00:00
"returnType": "void",
"description": "Closes the terminal using the action options."
2023-02-28 08:29:30 +00:00
},
{
"name": "on",
"parameters": [
{
"name": "action",
"optional": false,
2023-03-06 10:59:56 +00:00
"type": "undefined | \"command\" | \"response\""
2023-02-28 08:29:30 +00:00
},
{
"name": "fn",
"optional": false,
"type": "any"
}
],
2023-03-06 10:59:56 +00:00
"returnType": "void",
"description": "Displays the terminal using the action options."
2023-02-28 08:29:30 +00:00
}
]
}
}
}
},
2023-03-02 18:54:13 +00:00
"textarea": {
"description": "Textarea is a multi-line text input element.\n\n[Live Demo](https://www.primevue.org/textarea/)",
"components": {
"default": {
"description": "Textarea is a multi-line text input element.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TextareaEmits": {
"description": "Defines valid emits in Textarea component.",
"relatedProp": "",
"props": [
{
"name": "update:modelValue",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
},
2023-02-28 08:29:30 +00:00
"TextareaProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Textarea component. In addition to these, all properties of TextareaHTMLAttributes can be used in this component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "autoResize",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, height of textarea changes as being typed."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Value of the component."
}
],
"methods": [],
"extendedTypes": "TextareaHTMLAttributes"
},
"TextareaSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Textarea component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-03 08:30:54 +00:00
"tieredmenu": {
"description": "TieredMenu displays submenus in nested overlays.\n\n[Live Demo](https://www.primevue.org/menu/)",
"components": {
"default": {
"description": "TieredMenu displays submenus in nested overlays.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Hides the overlay."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-03 08:30:54 +00:00
"TieredMenuEmits": {
"description": "Defines valid emits in TieredMenuMenu component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "before-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the popup is hidden."
},
{
"name": "before-show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the popup is shown."
},
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the popup is hidden."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the popup is shown."
}
]
},
2023-02-28 08:29:30 +00:00
"TieredMenuProps": {
2023-03-03 08:30:54 +00:00
"description": "Defines valid properties in TieredMenuMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-03 08:18:55 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-02-28 08:29:30 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying menu element."
},
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-03 08:18:55 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-03 08:18:55 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "exact",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-03 08:18:55 +00:00
"default": "true",
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2023-02-28 08:29:30 +00:00
},
{
"name": "model",
"optional": true,
"readonly": false,
"type": "MenuItem[]",
"default": "",
"description": "An array of menuitems."
},
{
"name": "popup",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Defines if menu would displayed as a popup."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"TieredMenuSlots": {
2023-03-03 08:30:54 +00:00
"description": "Defines valid slots in TieredMenuMenu component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-03 08:30:54 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "item",
2023-03-03 08:30:54 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n }",
2023-03-03 08:30:54 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content for each item."
2023-02-28 08:29:30 +00:00
}
2023-03-03 08:30:54 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"timeline": {
2023-03-06 10:59:56 +00:00
"description": "Timeline visualizes a series of chained events.\n\n[Live Demo](https://primevue.org/timeline)",
2023-03-02 18:54:13 +00:00
"components": {
"default": {
"description": "Timeline visualizes a series of chained events.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TimelineEmits": {
"description": "Defines valid emits in Timeline component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"TimelineProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Timeline component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "align",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"alternate\" | \"left\" | \"top\" | \"bottom\" | \"right\"",
2023-03-08 11:02:08 +00:00
"default": "left",
2023-02-28 08:29:30 +00:00
"description": "Position of the timeline bar relative to the content."
},
{
"name": "dataKey",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Name of the field that uniquely identifies the a record in the data."
},
{
"name": "layout",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"horizontal\" | \"vertical\"",
2023-03-08 11:02:08 +00:00
"default": "horizontal",
2023-02-28 08:29:30 +00:00
"description": "Orientation of the timeline."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "any[]",
"default": "",
"description": "An array of events to display."
}
],
"methods": []
},
"TimelineSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Timeline component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "connector",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of item\n \t <b>item</b>: any, // Item data\n }"
2023-03-02 18:54:13 +00:00
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom connector template."
2023-02-28 08:29:30 +00:00
},
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of item\n \t <b>item</b>: any, // Item data\n }",
2023-03-02 18:54:13 +00:00
"description": "content slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template"
2023-02-28 08:29:30 +00:00
},
{
"name": "marker",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of item\n \t <b>item</b>: any, // Item data\n }",
2023-03-02 18:54:13 +00:00
"description": "marker slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom marker template."
2023-02-28 08:29:30 +00:00
},
{
"name": "opposite",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>index</b>: number, // Index of item\n \t <b>item</b>: any, // Item data\n }",
2023-03-02 18:54:13 +00:00
"description": "opposite slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom opposite template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"toast": {
"description": "Toast is used to display messages in an overlay.\n\n[Live Demo](https://www.primevue.org/toast/)",
"components": {
"default": {
"description": "Toast is used to display messages in an overlay.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"ToastBreakpointsType": {
2023-03-07 13:37:45 +00:00
"description": "Defines breakpoints type in Toast component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
2023-03-02 18:54:13 +00:00
"ToastEmits": {
2023-03-07 13:37:45 +00:00
"description": "Defines valid emits in Toast component.",
2023-03-02 18:54:13 +00:00
"relatedProp": "",
"props": [],
2023-03-07 13:37:45 +00:00
"methods": [
{
"name": "close",
"parameters": [
{
"name": "message",
"optional": false,
"type": "ToastMessageOptions",
"description": "Toast message."
}
],
"returnType": "void",
"description": "Callback to invoke when the toast is closed."
},
{
"name": "life-end",
"parameters": [
{
"name": "message",
"optional": false,
"type": "ToastMessageOptions",
"description": "Toast message."
}
],
"returnType": "void",
"description": "Callback to invoke when the toast's timeout is over."
}
]
2023-03-02 18:54:13 +00:00
},
2023-02-28 08:29:30 +00:00
"ToastMessageOptions": {
2023-03-07 13:37:45 +00:00
"description": "Defines message options in Toast component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "closable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-03 08:18:55 +00:00
"default": "true",
"description": "Whether the message can be closed manually using the close icon."
2023-02-28 08:29:30 +00:00
},
{
"name": "contentStyleClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the content."
},
{
"name": "detail",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Detail content of the message."
},
{
"name": "group",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Key of the Toast to display the message."
},
{
"name": "life",
"optional": true,
"readonly": false,
"type": "number",
2023-03-03 08:18:55 +00:00
"default": "3000",
"description": "Delay in milliseconds to close the message automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "severity",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"error\" | \"success\" | \"info\" | \"warn\"",
2023-03-08 11:02:08 +00:00
"default": "info",
2023-03-03 08:18:55 +00:00
"description": "Severity level of the message."
2023-02-28 08:29:30 +00:00
},
{
"name": "styleClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the message."
},
{
"name": "summary",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Summary content of the message."
}
],
"methods": []
},
"ToastProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Toast component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "autoZIndex",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to automatically manage layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "baseZIndex",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Base zIndex value to use in layering."
2023-02-28 08:29:30 +00:00
},
{
"name": "breakpoints",
"optional": true,
"readonly": false,
"type": "ToastBreakpointsType",
"default": "",
"description": "Object literal to define styles per screen size."
},
{
"name": "closeButtonProps",
"optional": true,
"readonly": false,
"type": "ButtonHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLButtonElement to the close button."
},
{
"name": "closeIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-times",
"description": "Icon to display in the toast close button."
2023-02-28 08:29:30 +00:00
},
{
"name": "errorIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-times",
"description": "Icon to display in the toast with error severity."
2023-02-28 08:29:30 +00:00
},
{
"name": "group",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Unique identifier of a message group."
},
{
"name": "infoIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-info-circle",
"description": "Icon to display in the toast with info severity."
2023-02-28 08:29:30 +00:00
},
{
"name": "position",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"center\" | \"top-left\" | \"top-center\" | \"top-right\" | \"bottom-left\" | \"bottom-center\" | \"bottom-right\"",
"default": "top-right",
2023-02-28 08:29:30 +00:00
"description": "Position of the toast in viewport."
},
{
"name": "successIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-check",
"description": "Icon to display in the toast with success severity."
2023-02-28 08:29:30 +00:00
},
{
"name": "warnIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "pi pi-exclamation-triangle",
"description": "Icon to display in the toast with warn severity."
2023-02-28 08:29:30 +00:00
}
],
"methods": []
},
"ToastSlots": {
2023-03-07 13:37:45 +00:00
"description": "Defines valid slot in Toast component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "message",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>message</b>: any, // Message of the component\n }",
2023-03-02 18:54:13 +00:00
"description": "message slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom message template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-07 13:37:45 +00:00
"toastservice-usetoast": {
"description": "[Live Demo](https://www.primevue.org/toast/)",
"model": {
"ToastServiceMethods": {
"description": "Toast Service methods.",
"props": {
"description": "",
"values": []
},
"methods": {
"description": "",
"values": [
2023-02-28 08:29:30 +00:00
{
"name": "add",
2023-03-07 13:37:45 +00:00
"parameters": [
{
"name": "message",
"optional": false,
"type": "ToastMessageOptions",
"description": "Message instance."
}
],
"returnType": "void",
"description": "Displays the message in a suitable Toast component."
2023-02-28 08:29:30 +00:00
},
{
"name": "removeAllGroups",
2023-03-07 13:37:45 +00:00
"parameters": [],
"returnType": "void",
"description": "Clears all the messages."
2023-02-28 08:29:30 +00:00
},
{
"name": "removeGroup",
2023-03-07 13:37:45 +00:00
"parameters": [
{
"name": "group",
"optional": false,
"type": "string",
"description": "Name of the message group."
}
],
"returnType": "void",
"description": "Clears the messages that belongs to the group."
2023-02-28 08:29:30 +00:00
}
2023-03-07 13:37:45 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"togglebutton": {
"description": "ToggleButton is used to select a boolean value using a button.\n\n[Live Demo](https://www.primevue.org/togglebutton/)",
"components": {
"default": {
"description": "ToggleButton is used to select a boolean value using a button.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ToggleButtonEmits": {
"description": "Defines valid emits in ToggleButton component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "blur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component loses focus."
},
{
"name": "change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "focus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when the component receives focus."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"ToggleButtonProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in ToggleButton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the element should be disabled."
},
{
"name": "iconPos",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"left\" | \"right\"",
2023-03-08 11:02:08 +00:00
"default": "left",
2023-02-28 08:29:30 +00:00
"description": "Position of the icon."
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the focus input to match a label defined for the chips."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Value of the component."
},
{
"name": "offIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon for the off state."
},
{
"name": "offLabel",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "no",
"description": "Label for the off state."
2023-02-28 08:29:30 +00:00
},
{
"name": "onIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon for the on state."
},
{
"name": "onLabel",
"optional": true,
"readonly": false,
"type": "string",
2023-03-02 18:54:13 +00:00
"default": "yes",
"description": "Label for the on state."
2023-02-28 08:29:30 +00:00
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"ToggleButtonSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in ToggleButton component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"toolbar": {
"description": "Toolbar is a grouping component for buttons and other content.\n\n[Live Demo](https://www.primevue.org/toolbar/)",
"components": {
"default": {
"description": "Toolbar is a grouping component for buttons and other content.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"ToolbarEmits": {
"description": "Defines valid emits in Toolbar component.",
"relatedProp": "",
"props": [],
"methods": []
},
2023-02-28 08:29:30 +00:00
"ToolbarProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Toolbar component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
}
],
"methods": []
},
"ToolbarSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Toolbar slots.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "center",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom center template."
2023-02-28 08:29:30 +00:00
},
{
"name": "end",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "start",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom start template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
}
}
2023-03-02 18:54:13 +00:00
}
},
"tooltip": {
2023-03-06 10:59:56 +00:00
"description": "Tooltip directive provides advisory information for a component.\n\n[Live Demo](https://primevue.org/tooltip)",
2023-03-02 18:54:13 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
2023-02-28 08:29:30 +00:00
"values": {
2023-03-02 18:54:13 +00:00
"TooltipDirectiveBinding": {
"description": "Binding of Tooltip directive.",
"relatedProp": "",
"props": [
{
"name": "modifiers",
"optional": true,
"readonly": false,
"type": "TooltipDirectiveModifiers",
"default": "",
"description": "Modifiers of the tooltip."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "string | TooltipOptions",
"default": "",
"description": "Value of the tooltip."
}
],
"methods": [],
"extendedTypes": "Omit<DirectiveBinding, \"modifiers\" | \"value\">"
},
"TooltipDirectiveModifiers": {
"description": "Defines modifiers of Tooltip.",
"relatedProp": "",
"props": [
{
"name": "bottom",
"optional": true,
"readonly": false,
2023-03-03 07:04:07 +00:00
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "Bottom position for Tooltip."
},
{
"name": "focus",
"optional": true,
"readonly": false,
2023-03-03 07:04:07 +00:00
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Focus event for Tooltip."
},
{
"name": "left",
"optional": true,
"readonly": false,
2023-03-03 07:04:07 +00:00
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "Left position for Tooltip."
},
{
"name": "right",
"optional": true,
"readonly": false,
2023-03-03 07:04:07 +00:00
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Right position for Tooltip."
},
{
"name": "top",
"optional": true,
"readonly": false,
2023-03-03 07:04:07 +00:00
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
"description": "Top position for Tooltip."
}
],
"methods": []
},
"TooltipOptions": {
"description": "Defines options of Tooltip.",
"relatedProp": "",
"props": [
{
"name": "class",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "When present, it adds a custom class to the tooltip."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "escape",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "By default the tooltip contents are not rendered as text. Set to true to support html tags in the content."
2023-03-02 18:54:13 +00:00
},
{
"name": "fitContent",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "true",
"description": "Automatically adjusts the element position when there is not enough space on the selected position."
},
{
"name": "id",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "When present, it adds a custom id to the tooltip."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Text of the tooltip."
}
],
"methods": []
2023-02-28 08:29:30 +00:00
}
}
}
},
2023-03-02 18:54:13 +00:00
"tree": {
"description": "Tree is used to display hierarchical data.\n\n[Live Demo](https://www.primevue.org/tree/)",
"components": {
"default": {
"description": "Tree is used to display hierarchical data.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TreeEmits": {
"description": "Defines valid slots in Tree component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "node-collapse",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is collapsed."
},
{
"name": "node-expand",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is expanded."
},
{
"name": "node-select",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is selected."
},
{
"name": "node-unselect",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is unselected."
},
{
"name": "update:expandedKeys",
"parameters": [
{
"name": "value",
"optional": false,
"type": "TreeExpandedKeys",
"description": "New expanded keys."
}
],
"returnType": "void",
"description": "Emitted when the expanded keys change."
},
{
"name": "update:selectionKeys",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TreeSelectionKeys"
}
],
"returnType": "void",
"description": "Emitted when the selection keys change."
}
]
},
2023-02-28 08:29:30 +00:00
"TreeExpandedKeys": {
2023-03-02 18:54:13 +00:00
"description": "Custom expanded keys metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"TreeNode": {
2023-03-02 18:54:13 +00:00
"description": "Custom TreeNode metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "children",
"optional": true,
"readonly": false,
"type": "TreeNode[]",
"default": "",
"description": "An array of treenodes as children."
},
{
"name": "collapsedIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon to use in collapsed state."
},
{
"name": "data",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Data represented by the node."
},
{
"name": "expandedIcon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon to use in expanded state."
},
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon of the node to display next to content."
},
{
"name": "key",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Mandatory unique key of the node."
},
{
"name": "label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Label of the node."
},
{
"name": "leaf",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Specifies if the node has children. Used in lazy loading."
},
{
"name": "selectable",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the node is selectable when selection mode is enabled."
},
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the node."
},
{
"name": "styleClass",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Style class of the node."
},
{
"name": "type",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Type of the node to match a template."
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"TreeProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in Tree component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Defines a string value that labels an interactive element."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying menu element."
},
{
"name": "expandedKeys",
"optional": true,
"readonly": false,
"type": "TreeExpandedKeys",
"default": "",
"description": "A map of keys to represent the expansion state in controlled mode."
},
{
"name": "filter",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When specified, displays an input field to filter the items."
},
{
"name": "filterBy",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "label",
2023-03-03 08:18:55 +00:00
"description": "When filtering is enabled, filterBy decides which field or fields (comma separated) to search against."
2023-02-28 08:29:30 +00:00
},
{
"name": "filterLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in filtering. The default locale is the host environment's current locale."
},
{
"name": "filterMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"strict\" | \"lenient\"",
2023-03-08 11:02:08 +00:00
"default": "lenient",
2023-02-28 08:29:30 +00:00
"description": "Mode for filtering."
},
{
"name": "filterPlaceholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Placeholder text to show when filter input is empty."
},
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to display loading indicator."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-spin",
2023-03-02 18:54:13 +00:00
"description": "Icon to display when tree is loading."
2023-02-28 08:29:30 +00:00
},
{
"name": "metaKeySelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.\nOn touch enabled devices, metaKeySelection is turned off automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Height of the scroll viewport in fixed units or the 'flex' keyword for a dynamic size."
},
{
"name": "selectionKeys",
"optional": true,
"readonly": false,
"type": "TreeSelectionKeys",
"default": "",
"description": "A map of keys to control the selection state."
},
{
"name": "selectionMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"multiple\" | \"checkbox\" | \"single\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Defines the selection mode."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "TreeNode[]",
"default": "",
"description": "An array of treenodes."
}
],
"methods": []
},
"TreeSelectionKeys": {
2023-03-02 18:54:13 +00:00
"description": "Custom selection keys metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"TreeSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in Tree component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-07 13:47:32 +00:00
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "Function"
}
],
2023-02-28 08:29:30 +00:00
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"treeselect": {
"description": "TreeSelect is a form component to choose from hierarchical data.\n\n[Live Demo](https://www.primevue.org/treeselect/)",
"components": {
"default": {
"description": "TreeSelect is a form component to choose from hierarchical data.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TreeSelectEmits": {
"description": "Defines valid emits in TreeSelect component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "before-hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is hidden."
},
{
"name": "before-show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke before the overlay is shown."
},
{
"name": "change",
"parameters": [
{
"name": "value",
"optional": false,
"type": "string[]",
"description": "Selected node keys"
}
],
"returnType": "void",
"description": "Callback to invoke on value change."
},
{
"name": "hide",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is hidden."
},
{
"name": "node-collapse",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is collapsed."
},
{
"name": "node-expand",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is expanded."
},
{
"name": "node-select",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is selected."
},
{
"name": "node-unselect",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is unselected."
},
{
"name": "show",
"parameters": [],
"returnType": "void",
"description": "Callback to invoke when the overlay is shown."
},
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "any",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"TreeSelectProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in TreeSelect component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "appendTo",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | HTMLElement",
2023-03-08 11:02:08 +00:00
"default": "body",
2023-03-02 18:54:13 +00:00
"description": "A valid query selector or an HTMLElement to specify where the overlay gets attached."
2023-02-28 08:29:30 +00:00
},
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "display",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"comma\" | \"chip\"",
2023-03-08 11:02:08 +00:00
"default": "comma",
2023-02-28 08:29:30 +00:00
"description": "Defines how the selected items are displayed."
},
{
"name": "emptyMessage",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "No results found",
2023-03-02 18:54:13 +00:00
"description": "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
2023-02-28 08:29:30 +00:00
},
{
"name": "inputClass",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "string | object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Style class of the input field."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "InputHTMLAttributes",
2023-02-28 08:29:30 +00:00
"default": "",
2023-03-02 18:54:13 +00:00
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
2023-02-28 08:29:30 +00:00
},
{
"name": "inputStyle",
"optional": true,
"readonly": false,
2023-03-09 07:03:07 +00:00
"type": "object",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Inline style of the input field."
},
{
"name": "metaKeySelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.\nOn touch enabled devices, metaKeySelection is turned off automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Value of the component."
},
{
"name": "options",
"optional": true,
"readonly": false,
"type": "TreeNode[]",
"default": "",
"description": "An array of treenodes."
},
{
2023-03-02 18:54:13 +00:00
"name": "panelClass",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the overlay panel."
},
{
"name": "placeholder",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Label to display when there are no selections."
},
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "200px",
2023-03-02 18:54:13 +00:00
"description": "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
},
{
"name": "selectionMode",
"optional": true,
"readonly": false,
"type": "\"multiple\" | \"checkbox\" | \"single\"",
"default": "",
"description": "Defines the selection mode."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"TreeSelectSlots": {
"description": "Defines valid slots in TreeSelect component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "empty",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template."
},
{
"name": "footer",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: TreeNode, // An array of treenodes.\n \t <b>value</b>: any, // Selected value\n }",
2023-03-02 18:54:13 +00:00
"description": "footer slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
},
{
"name": "header",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: TreeNode, // An array of treenodes.\n \t <b>value</b>: any, // Selected value\n }",
2023-03-02 18:54:13 +00:00
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
},
{
"name": "indicator",
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom indicator template."
},
{
"name": "value",
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>placeholder</b>: string, // Placeholder\n \t <b>value</b>: any, // Selected value\n }",
2023-03-02 18:54:13 +00:00
"description": "value slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom value template."
}
]
}
}
}
},
"treetable": {
"description": "TreeTable is used to display hierarchical data in tabular format.\n\n[Live Demo](https://www.primevue.org/treetable/)",
"components": {
"default": {
"description": "TreeTable is used to display hierarchical data in tabular format.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
"TreeTableEmits": {
"description": "Defines valid emits in TreeTable component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "column-resize-end",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when a column is resized."
},
{
"name": "filter",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TreeTableFilterEvent",
"description": "Custom filter event."
}
],
"returnType": "void",
"description": "Event to emit after filtering, not triggered in lazy mode."
},
{
"name": "node-collapse",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is collapsed."
},
{
"name": "node-expand",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is expanded."
},
{
"name": "node-select",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is selected."
},
{
"name": "node-unselect",
"parameters": [
{
"name": "node",
"optional": false,
"type": "TreeNode",
"description": "Node instance."
}
],
"returnType": "void",
"description": "Callback to invoke when a node is unselected."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "page",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TreeTablePageEvent",
"description": "Custom page event."
}
],
"returnType": "void",
"description": "Callback to invoke on pagination. Sort and Filter information is also available for lazy loading implementation."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "sort",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TreeTableSortEvent",
"description": "Custom sort event."
}
],
"returnType": "void",
"description": "Callback to invoke on sort. Page and Filter information is also available for lazy loading implementation."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "update:expandedKeys",
"parameters": [
{
"name": "value",
"optional": false,
"type": "TreeTableExpandedKeys",
"description": "New expanded keys."
}
],
"returnType": "void",
"description": "Emitted when the expanded keys change."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "update:first",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the first changes."
},
2023-02-28 08:29:30 +00:00
{
2023-03-02 18:54:13 +00:00
"name": "update:multiSortMeta",
"parameters": [
{
"name": "value",
"optional": false,
"type": "undefined | null | TreeTableSortMeta[]",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the multiSortMeta changes."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "update:rows",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the rows changes."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "update:selectionKeys",
"parameters": [
{
"name": "event",
"optional": false,
"type": "TreeTableSelectionKeys"
}
],
"returnType": "void",
"description": "Emitted when the selection keys change."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "update:sortField",
"parameters": [
{
"name": "value",
"optional": false,
"type": "string",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the sortField changes."
2023-02-28 08:29:30 +00:00
},
{
2023-03-02 18:54:13 +00:00
"name": "update:sortOrder",
"parameters": [
{
"name": "value",
"optional": false,
"type": "undefined | number",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the sortOrder changes."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
},
2023-02-28 08:29:30 +00:00
"TreeTableExpandedKeys": {
2023-03-02 18:54:13 +00:00
"description": "Custom expanded keys metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"TreeTableFilterEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom filter event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "TreeTableEmits.sort",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "filterMatchModes",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Match modes per field"
},
{
"name": "filteredValue",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Filtered collection (non-lazy only)"
},
{
"name": "filters",
"optional": false,
"readonly": false,
"type": "TreeTableFilterMeta",
"default": "",
"description": "Collection of active filters"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "multiSortMeta",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | null | TreeTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "MultiSort metadata"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
},
{
"name": "sortField",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Field to sort against"
},
{
"name": "sortOrder",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Sort order as integer"
}
],
"methods": [],
"extendedTypes": "TreeTableSortEvent"
},
"TreeTableFilterMeta": {
2023-03-02 18:54:13 +00:00
"description": "Custom filter metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "string | TreeTableFilterMetaData | TreeTableOperatorFilterMetaData"
}
],
"methods": []
},
"TreeTableFilterMetaData": {
2023-03-02 18:54:13 +00:00
"description": "Custom treetable filter metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "matchMode",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Filter match mode"
},
{
"name": "value",
"optional": false,
"readonly": false,
"type": "any",
"default": "",
"description": "Filter value"
}
],
"methods": []
},
"TreeTableOperatorFilterMetaData": {
2023-03-02 18:54:13 +00:00
"description": "Custom operator filter metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "constraints",
"optional": false,
"readonly": false,
"type": "TreeTableFilterMetaData[]",
"default": "",
"description": "Array of filter meta datas."
},
{
"name": "operator",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Filter operator"
}
],
"methods": []
},
"TreeTablePageEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom page event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "TreeTableEmits.sort",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "filterMatchModes",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Match modes per field"
},
{
"name": "filters",
"optional": false,
"readonly": false,
"type": "TreeTableFilterMeta",
"default": "",
"description": "Collection of active filters"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "multiSortMeta",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | null | TreeTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "MultiSort metadata"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "page",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "New page number"
},
{
"name": "pageCount",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Total page count"
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
},
{
"name": "sortField",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Field to sort against"
},
{
"name": "sortOrder",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Sort order as integer"
}
],
"methods": [],
"extendedTypes": "TreeTableSortEvent"
},
"TreeTableProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in TreeTable component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "alwaysShowPaginator",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Whether to show it even there is only one page."
2023-02-28 08:29:30 +00:00
},
{
"name": "autoLayout",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether the cell widths scale according to their content or not."
},
{
"name": "columnResizeMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"fit\" | \"expand\"",
2023-03-08 11:02:08 +00:00
"default": "fit",
2023-02-28 08:29:30 +00:00
"description": "Defines whether the overall table width should change on column resize."
},
{
"name": "currentPageReportTemplate",
"optional": true,
"readonly": false,
"type": "string",
2023-03-03 08:18:55 +00:00
"default": "'({currentPage} of {totalPages})'",
2023-03-02 18:54:13 +00:00
"description": "Template of the current page report element. It displays information about the pagination state.\n\n- {currentPage}\n- {totalPages}\n- {rows}\n- {first}\n- {last}\n- {totalRecords}"
2023-02-28 08:29:30 +00:00
},
{
"name": "defaultSortOrder",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
"description": "Default sort order of an unsorted column."
2023-02-28 08:29:30 +00:00
},
{
"name": "expandedKeys",
"optional": true,
"readonly": false,
"type": "TreeTableExpandedKeys",
"default": "",
"description": "A map of keys to represent the state of the tree expansion state in controlled mode."
},
{
"name": "filterLocale",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Locale to use in filtering. The default locale is the host environment's current locale."
},
{
"name": "filterMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"strict\" | \"lenient\"",
2023-03-08 11:02:08 +00:00
"default": "lenient",
2023-02-28 08:29:30 +00:00
"description": "Mode for filtering."
},
{
"name": "filters",
"optional": true,
"readonly": false,
"type": "TreeTableFilterMeta",
"default": "",
"description": "Filters object with key-value pairs to define the filters."
},
{
"name": "first",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Index of the first row to be displayed."
2023-02-28 08:29:30 +00:00
},
{
"name": "indentation",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "1",
"description": "Indentation factor as rem value for children nodes."
2023-02-28 08:29:30 +00:00
},
{
"name": "lazy",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if data is loaded and interacted with in lazy manner."
},
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Displays a loader to indicate data load is in progress."
},
{
"name": "loadingIcon",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "pi pi-spinner",
2023-03-02 18:54:13 +00:00
"description": "The icon to show while indicating data load is in progress."
2023-02-28 08:29:30 +00:00
},
{
"name": "metaKeySelection",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.\nOn touch enabled devices, metaKeySelection is turned off automatically."
2023-02-28 08:29:30 +00:00
},
{
"name": "multiSortMeta",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "null | TreeTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "An array of SortMeta objects to sort the data by default in multiple sort mode."
},
{
"name": "pageLinkSize",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "5",
"description": "Number of page links to display."
2023-02-28 08:29:30 +00:00
},
{
"name": "paginator",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When specified as true, enables the pagination."
},
{
"name": "paginatorPosition",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"both\" | \"top\" | \"bottom\"",
"default": "bottom",
2023-02-28 08:29:30 +00:00
"description": "Position of the paginator, options are 'top','bottom' or 'both'."
},
{
"name": "paginatorTemplate",
"optional": true,
"readonly": false,
"type": "string",
2023-03-08 11:02:08 +00:00
"default": "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",
2023-03-02 18:54:13 +00:00
"description": "Template of the paginator. It can be customized using the template property using the predefined keys. Here are the available elements that can be placed inside a paginator in any order.\n\n- FirstPageLink\n- PrevPageLink\n- PageLinks\n- NextPageLink\n- LastPageLink\n- RowsPerPageDropdown\n- JumpToPageDropdown\n- JumpToPageInput\n- CurrentPageReport"
2023-02-28 08:29:30 +00:00
},
{
"name": "removableSort",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, columns can have an un-sorted state."
},
{
"name": "resizableColumns",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "When enabled, columns can be resized using drag and drop."
},
{
"name": "responsiveLayout",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"scroll\" | \"stack\"",
2023-03-08 11:02:08 +00:00
"default": "stack",
2023-02-28 08:29:30 +00:00
"description": "Defines the responsive mode, currently only option is scroll."
},
{
"name": "rowHover",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When enabled, background of the rows change on hover."
},
{
"name": "rows",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display per page."
},
{
"name": "rowsPerPageOptions",
"optional": true,
"readonly": false,
"type": "number[]",
"default": "",
"description": "Array of integer values to display inside rows per page dropdown."
},
{
"name": "scrollDirection",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"both\" | \"horizontal\" | \"vertical\"",
2023-03-08 11:02:08 +00:00
"default": "vertical",
2023-02-28 08:29:30 +00:00
"description": "Orientation of the scrolling."
},
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Height of the scroll viewport in fixed pixels or the 'flex' keyword for a dynamic size."
},
{
"name": "scrollable",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When specified, enables horizontal and/or vertical scrolling."
},
{
"name": "selectionKeys",
"optional": true,
"readonly": false,
"type": "TreeTableSelectionKeys",
"default": "",
"description": "A map of keys to control the selection state."
},
{
"name": "selectionMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"multiple\" | \"checkbox\" | \"single\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Defines the selection mode."
},
{
"name": "showGridlines",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to show grid lines between cells."
},
{
"name": "sortField",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Property name or a getter function of a row data used for sorting by default."
},
{
"name": "sortMode",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"multiple\" | \"single\"",
2023-03-08 11:02:08 +00:00
"default": "single",
2023-02-28 08:29:30 +00:00
"description": "Defines whether sorting works on single column or on multiple columns."
},
{
"name": "sortOrder",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Order to sort the data by default."
},
{
"name": "tableProps",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Props to pass to the table element."
},
{
"name": "totalRecords",
"optional": true,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of total records, defaults to length of value when not defined."
},
{
"name": "value",
"optional": true,
"readonly": false,
"type": "TreeNode[]",
"default": "",
"description": "An array of treenodes."
}
],
"methods": []
},
"TreeTableSelectionKeys": {
2023-03-02 18:54:13 +00:00
"description": "Custom selection keys metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": []
},
"TreeTableSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in TreeTable component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "empty",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom empty template."
2023-02-28 08:29:30 +00:00
},
{
"name": "footer",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom footer template."
2023-02-28 08:29:30 +00:00
},
{
"name": "header",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom header template."
2023-02-28 08:29:30 +00:00
},
{
"name": "paginatorend",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom paginator end template."
2023-02-28 08:29:30 +00:00
},
{
"name": "paginatorstart",
2023-03-02 18:54:13 +00:00
"parameters": [],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom paginator start template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
},
"TreeTableSortEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom sort event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "TreeTableEmits.sort",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "filterMatchModes",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | \"endsWith\" | \"startsWith\" | \"contains\" | \"in\" | \"notContains\" | \"equals\" | \"notEquals\" | \"lt\" | \"lte\" | \"gt\" | \"gte\" | \"between\" | \"dateIs\" | \"dateIsNot\" | \"dateBefore\" | \"dateAfter\"",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Match modes per field"
},
{
"name": "filters",
"optional": false,
"readonly": false,
"type": "TreeTableFilterMeta",
"default": "",
"description": "Collection of active filters"
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Index of first record"
},
{
"name": "multiSortMeta",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | null | TreeTableSortMeta[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "MultiSort metadata"
},
{
"name": "originalEvent",
"optional": false,
"readonly": false,
"type": "Event",
"default": "",
"description": "Browser event."
},
{
"name": "rows",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Number of rows to display in new page"
},
{
"name": "sortField",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | string | Function",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Field to sort against"
},
{
"name": "sortOrder",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Sort order as integer"
}
],
"methods": [],
"extendedBy": "TreeTablePageEvent,TreeTableFilterEvent"
},
"TreeTableSortMeta": {
2023-03-02 18:54:13 +00:00
"description": "Custom sort metadata.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "field",
"optional": false,
"readonly": false,
"type": "string",
"default": "",
"description": "Column field"
},
{
"name": "order",
"optional": false,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "undefined | null | 0 | 1 | -1",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "Column sort order"
}
],
"methods": []
}
}
}
},
2023-03-02 18:54:13 +00:00
"tristatecheckbox": {
"description": "TriStateCheckbox is used to select either 'true', 'false' or 'null' as the value.\n\n[Live Demo](https://www.primevue.org/tristatecheckbox/)",
"components": {
"default": {
"description": "TriStateCheckbox is used to select either 'true', 'false' or 'null' as the value.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"TriStateCheckboxEmits": {
"description": "Defines valid emits in TriStateCheckbox component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "update:modelValue",
"parameters": [
{
"name": "value",
"optional": false,
"type": "Nullable<boolean>",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the value changes."
}
]
},
2023-02-28 08:29:30 +00:00
"TriStateCheckboxProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in TriStateCheckbox component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "aria-label",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes a string value that labels the component."
},
{
"name": "aria-labelledby",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "When present, it specifies that the component should be disabled."
},
{
"name": "inputId",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Identifier of the underlying input element."
},
{
"name": "inputProps",
"optional": true,
"readonly": false,
"type": "InputHTMLAttributes",
"default": "",
"description": "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
},
{
"name": "modelValue",
"optional": true,
"readonly": false,
"type": "Nullable<boolean>",
2023-03-02 18:54:13 +00:00
"default": "null",
2023-02-28 08:29:30 +00:00
"description": "Value of the component."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Index of the element in tabbing order."
}
],
"methods": []
},
"TriStateCheckboxSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in TriStateCheckbox component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [],
"methods": []
}
}
}
},
"ts-helpers": {
"types": {
"description": "Defines the custom types used by the module.",
"values": {
"Booleanish": {
"values": "boolean | \"true\" | \"false\"",
"description": "Custom types"
},
"EmitFn": {
"values": "Options extends (infer V)[] ? Function : Object extends Options ? Function : UnionToIntersection<{ [key in Event]: Options[key] extends Function ? Function : Function }[Event]>"
},
"GlobalComponentConstructor": {
"values": "{}"
},
"Nullable": {
"values": "T | null | undefined"
},
"Numberish": {
"values": "number | string"
},
"PublicProps": {
"values": "VNodeProps & AllowedComponentProps & ComponentCustomProps"
},
"UnionToIntersection": {
"values": "(U extends any ? Function : never) extends Function ? I : never"
}
}
}
},
"useconfirm/UseConfirm": {
"functions": {
"description": "Defines the custom functions used by the module.",
"values": {
"useConfirm": {
"name": "useConfirm",
"parameters": [],
"returnType": "Object"
}
}
}
},
"usedialog/UseDialog": {
"functions": {
"description": "Defines the custom functions used by the module.",
"values": {
"useDialog": {
"name": "useDialog",
"parameters": [],
"returnType": "Object"
}
}
}
},
"usetoast/UseToast": {
"functions": {
"description": "Defines the custom functions used by the module.",
"values": {
"useToast": {
"name": "useToast",
"parameters": [],
"returnType": "ToastServiceMethods"
}
}
}
},
"utils/Utils": {
"functions": {
"description": "Defines the custom functions used by the module.",
"values": {
"EventBus": {
"name": "EventBus",
"parameters": [],
"returnType": "Object"
},
"UniqueComponentId": {
"name": "UniqueComponentId",
"parameters": [
{
"name": "prefix",
"type": "string"
}
],
"returnType": "string"
}
}
}
},
2023-03-02 18:54:13 +00:00
"virtualscroller": {
"description": "VirtualScroller is a performant approach to handle huge data efficiently.\n\n[Live Demo](https://www.primevue.org/virtualscroller/)",
"components": {
"default": {
"description": "VirtualScroller is a performant approach to handle huge data efficiently.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": [
{
"name": "getRenderedRange",
"parameters": [],
"returnType": "VirtualScrollerRangeMethod",
"description": "Returns the range of items added to the DOM."
},
{
"name": "scrollInView",
"parameters": [
{
"name": "index",
"type": "number",
"description": "Index of item according to orientation mode."
},
{
"name": "to",
"type": "\"to-start\" | \"to-end\"",
"description": "Defines the location of the item in view,"
},
{
"name": "behavior",
"type": "ScrollBehavior",
"description": "Behavior of scroll"
}
],
"returnType": "void",
"description": "It is used to move the specified index into the view. It is a method that will usually be needed when keyboard support is added to the virtualScroller component."
},
{
"name": "scrollTo",
"parameters": [
{
"name": "options",
"type": "ScrollToOptions",
"description": "scoll options."
}
],
"returnType": "void",
"description": "Scroll to move to a specific position."
},
{
"name": "scrollToIndex",
"parameters": [
{
"name": "index",
"type": "number",
"description": "Index of item according to orientation mode."
},
{
"name": "behavior",
"type": "ScrollBehavior",
"description": "Behavior of scroll."
}
],
"returnType": "void",
"description": "Scroll to move to a specific item."
}
]
}
}
},
2023-02-28 08:29:30 +00:00
"interfaces": {
"description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.",
"methodDescription": "Defines methods that can be accessed by the component's reference.",
"typeDescription": "Defines the custom types used by the module.",
"values": {
2023-03-02 18:54:13 +00:00
"VirtualScrollerEmits": {
"description": "Defines valid emits in VirtualScroller component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "lazy-load",
"parameters": [
{
"name": "event",
"optional": false,
"type": "VirtualScrollerLazyEvent",
"description": "Custom lazy event."
}
],
"returnType": "void",
"description": "Callback to invoke in lazy mode to load new data."
},
{
"name": "scroll",
"parameters": [
{
"name": "event",
"optional": false,
"type": "Event",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when scroll position changes."
},
{
"name": "scroll-index-change",
"parameters": [
{
"name": "event",
"optional": false,
"type": "VirtualScrollerScrollIndexChangeEvent",
"description": "Custom tab open event."
}
],
"returnType": "void",
"description": "Callback to invoke when scroll position and item's range in view changes."
},
{
"name": "update:numToleratedItems",
"parameters": [
{
"name": "value",
"optional": false,
"type": "number",
"description": "New number tolerated items"
}
],
"returnType": "void",
"description": "Emitted when the numToleratedItems changes."
}
]
},
2023-02-28 08:29:30 +00:00
"VirtualScrollerItemOptions": {
2023-03-02 18:54:13 +00:00
"description": "Custom item options.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "count",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Items count"
},
{
"name": "even",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is even."
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is first."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Item index"
},
{
"name": "last",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is last."
},
{
"name": "odd",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is odd."
},
{
"name": "[key: string]",
"optional": false,
"readonly": false,
"type": "any"
}
],
"methods": [],
"extendedBy": "VirtualScrollerLoaderOptions"
},
"VirtualScrollerLazyEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom lazy event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "VirtualScrollerEmits['scroll-index-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "First index of the new data range to be loaded."
},
{
"name": "last",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Last index of the new data range to be loaded."
}
],
"methods": [],
"extendedTypes": "VirtualScrollerScrollIndexChangeEvent"
},
"VirtualScrollerLoaderOptions": {
2023-03-02 18:54:13 +00:00
"description": "Custom virtualscroller loader options",
2023-03-06 10:59:56 +00:00
"relatedProp": "undefined.VirtualScrollerItemOptions",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "count",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Items count"
},
{
"name": "even",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is even."
},
{
"name": "first",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is first."
},
{
"name": "index",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Item index"
},
{
"name": "last",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is last."
},
{
"name": "odd",
"optional": false,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether the item is odd."
}
],
"methods": [],
"extendedBy": "ColumnLoadingOptions",
"extendedTypes": "VirtualScrollerItemOptions"
},
"VirtualScrollerProps": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid properties in VirtualScroller component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
2023-02-28 12:10:08 +00:00
{
"name": "appendOnly",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Used to append each loaded item to top without removing any items from the DOM. Using very large data may cause the browser to crash."
},
{
"name": "autoSize",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "Whether to dynamically change the height or width of scrollable container."
},
2023-02-28 08:29:30 +00:00
{
"name": "class",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Style class of the component."
},
{
"name": "delay",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "0",
"description": "Delay in scroll before new data is loaded."
2023-02-28 08:29:30 +00:00
},
{
"name": "disabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "If disabled, the VirtualScroller feature is eliminated and the content is displayed directly."
},
{
"name": "id",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Unique identifier of the element."
},
2023-02-28 12:10:08 +00:00
{
"name": "inline",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "false",
"description": "When enabled, positions the content as inline."
},
2023-02-28 08:29:30 +00:00
{
"name": "itemSize",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "number | number[]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "The height/width of item according to orientation."
},
{
"name": "items",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "null | any[] | any[][]",
2023-02-28 08:29:30 +00:00
"default": "",
"description": "An array of objects to display."
},
{
"name": "lazy",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Defines if data is loaded and interacted with in lazy manner."
},
{
"name": "loaderDisabled",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Used to implement a custom loader instead of using the loader feature in the VirtualScroller."
},
{
"name": "loading",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "false",
2023-02-28 08:29:30 +00:00
"description": "Whether to load items."
},
{
"name": "numToleratedItems",
"optional": true,
"readonly": false,
"type": "number",
2023-03-02 18:54:13 +00:00
"default": "half the number of items shown in the view.",
"description": "Determines how many additional elements to add to the DOM outside of the view.\nAccording to the scrolls made up and down, extra items are added in a certain algorithm in the form of multiples of this number."
2023-02-28 08:29:30 +00:00
},
{
"name": "orientation",
"optional": true,
"readonly": false,
2023-03-02 18:54:13 +00:00
"type": "\"both\" | \"horizontal\" | \"vertical\"",
"default": "vertical",
2023-02-28 08:29:30 +00:00
"description": "The orientation of scrollbar."
},
2023-02-28 12:10:08 +00:00
{
"name": "resizeDelay",
"optional": true,
"readonly": false,
"type": "number",
"default": "10",
"description": "Delay after window's resize finishes."
},
2023-02-28 08:29:30 +00:00
{
"name": "scrollHeight",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Height of the scroll viewport."
},
{
"name": "scrollWidth",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Width of the scroll viewport."
},
{
"name": "showLoader",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "",
"description": "Whether to show loader."
},
{
"name": "showSpacer",
"optional": true,
"readonly": false,
"type": "boolean",
2023-03-02 18:54:13 +00:00
"default": "true",
"description": "Used to implement a custom spacer instead of using the spacer feature in the VirtualScroller."
2023-02-28 08:29:30 +00:00
},
2023-02-28 12:10:08 +00:00
{
"name": "step",
"optional": true,
"readonly": false,
"type": "number",
"default": "0",
"description": "Used to specify how many items to load in each load method in lazy mode."
},
2023-02-28 08:29:30 +00:00
{
"name": "style",
"optional": true,
"readonly": false,
"type": "any",
"default": "",
"description": "Inline style of the component."
},
{
"name": "tabindex",
"optional": true,
"readonly": false,
"type": "string | number",
2023-03-08 11:02:08 +00:00
"default": "0",
2023-03-02 18:54:13 +00:00
"description": "Index of the element in tabbing order."
2023-02-28 08:29:30 +00:00
}
],
2023-03-02 18:54:13 +00:00
"methods": [
{
"name": "onLazyLoad",
"parameters": [
{
"name": "event",
"optional": false,
"type": "VirtualScrollerLazyEvent",
"description": "Custom lazy event."
}
],
"returnType": "void",
"description": "Callback to invoke in lazy mode to load new data."
}
]
2023-02-28 08:29:30 +00:00
},
"VirtualScrollerRangeMethod": {
2023-03-02 18:54:13 +00:00
"description": "Virtual scroller rendered range.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
"props": [
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Whether the item is first."
},
{
"name": "last",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Whether the item is last."
},
{
"name": "viewport",
"optional": false,
"readonly": false,
"type": "VirtualScrollerViewport",
"default": "",
"description": "Viewport info."
}
],
"methods": []
},
"VirtualScrollerScrollIndexChangeEvent": {
2023-03-02 18:54:13 +00:00
"description": "Custom scroll index change event.",
2023-03-07 13:37:45 +00:00
"relatedProp": "VirtualScrollerEmits['scroll-index-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "First index of the new data range to be loaded."
},
{
"name": "last",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Last index of the new data range to be loaded."
}
],
"methods": [],
"extendedBy": "VirtualScrollerLazyEvent,VirtualScrollerViewport"
},
"VirtualScrollerSlots": {
2023-03-02 18:54:13 +00:00
"description": "Defines valid slots in VirtualScroller component.",
2023-02-28 08:29:30 +00:00
"relatedProp": "",
2023-03-02 18:54:13 +00:00
"props": [],
"methods": [
2023-02-28 08:29:30 +00:00
{
"name": "content",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>both</b>: boolean, // Whether the orientation is both.\n \t <b>columns</b>: undefined, // The number of the rendered columns.\n \t <b>contentStyle</b>: any, // The style of content element.\n \t <b>horizontal</b>: boolean, // Whether the orientation is horizontal.\n \t <b>itemSize</b>: undefined, // The height/width of item according to orientation.\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>loading</b>: boolean, // Whether the data is loaded.\n \t <b>rows</b>: undefined, // The number of the rendered rows.\n \t <b>spacerStyle</b>: any, // The style of spacer element.\n \t <b>styleClass</b>: string, // Style class of the content\n \t <b>vertical</b>: boolean, // Whether the orientation is vertical.\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n \t <b>getLoaderOptions(index: number, ext: any)</b>: VirtualScrollerLoaderOptions, // Loader options of the items while the data is loading.\n }",
2023-03-02 18:54:13 +00:00
"description": "content slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom content template."
2023-02-28 08:29:30 +00:00
},
{
"name": "item",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>item</b>: any, // Item data.\n \t <b>options</b>: VirtualScrollerItemOptions, // Item options.\n }",
2023-03-02 18:54:13 +00:00
"description": "item slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom item template."
2023-02-28 08:29:30 +00:00
},
{
"name": "loader",
2023-03-02 18:54:13 +00:00
"parameters": [
{
"name": "scope",
"optional": false,
2023-03-07 13:37:45 +00:00
"type": "{\n \t <b>options</b>: VirtualScrollerLoaderOptions, // Loader options.\n }",
2023-03-02 18:54:13 +00:00
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom loader template."
2023-02-28 08:29:30 +00:00
}
2023-03-02 18:54:13 +00:00
]
2023-02-28 08:29:30 +00:00
},
"VirtualScrollerViewport": {
2023-03-02 18:54:13 +00:00
"description": "Custom virtualscroller viewport metadata.",
2023-03-07 13:37:45 +00:00
"relatedProp": "VirtualScrollerEmits['scroll-index-change']",
2023-02-28 08:29:30 +00:00
"props": [
{
"name": "first",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "First index of the new data range to be loaded."
},
{
"name": "last",
"optional": false,
"readonly": false,
"type": "number",
"default": "",
"description": "Last index of the new data range to be loaded."
}
],
"methods": [],
"extendedTypes": "VirtualScrollerScrollIndexChangeEvent"
}
}
}
}
}