mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Pages route change - api generator added
This commit is contained in:
parent
28b8e0a7e0
commit
3eac7d6658
179 changed files with 10592 additions and 5 deletions
64
api-generator/components/overlaypanel.js
Normal file
64
api-generator/components/overlaypanel.js
Normal file
|
@ -0,0 +1,64 @@
|
|||
const OverlayPanelProps = [
|
||||
{
|
||||
name: "dismissable",
|
||||
type: "boolean",
|
||||
default: "true",
|
||||
description: "Enables to hide the overlay when outside is clicked."
|
||||
},
|
||||
{
|
||||
name: "showCloseIcon",
|
||||
type: "boolean",
|
||||
default: "false",
|
||||
description: "When enabled, displays a close icon at top right corner."
|
||||
},
|
||||
{
|
||||
name: "appendTo",
|
||||
type: "string",
|
||||
default: "body",
|
||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
||||
},
|
||||
{
|
||||
name: "baseZIndex",
|
||||
type: "number",
|
||||
default: "0",
|
||||
description: "Base zIndex value to use in layering."
|
||||
},
|
||||
{
|
||||
name: "autoZIndex",
|
||||
type: "boolean",
|
||||
default: "true",
|
||||
description: "Whether to automatically manage layering."
|
||||
},
|
||||
{
|
||||
name: "ariaCloseLabel",
|
||||
type: "string",
|
||||
default: "close",
|
||||
description: "Aria label of the close icon."
|
||||
},
|
||||
{
|
||||
name: "breakpoints",
|
||||
type: "object",
|
||||
default: "null",
|
||||
description: "Object literal to define widths per screen size."
|
||||
}
|
||||
];
|
||||
|
||||
const OverlayPanelEvents = [
|
||||
{
|
||||
name: "show",
|
||||
description: "Callback to invoke before the overlay is shown."
|
||||
},
|
||||
{
|
||||
name: "hide",
|
||||
description: "Callback to invoke before the overlay is hidden."
|
||||
},
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
overlaypanel: {
|
||||
name: "OverlayPanel",
|
||||
description: "OverlayPanel is a container component positioned as connected to its target.",
|
||||
props: OverlayPanelProps,
|
||||
events: OverlayPanelEvents
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue