mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
parent
367d4a5f14
commit
8681911998
92 changed files with 7793 additions and 2 deletions
34
api-generator/components/toast.js
Normal file
34
api-generator/components/toast.js
Normal file
|
@ -0,0 +1,34 @@
|
|||
const ToastProps = [
|
||||
{
|
||||
name: "group",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Unique identifier of a message group."
|
||||
},
|
||||
{
|
||||
name: "position",
|
||||
type: "string",
|
||||
default: "top-right",
|
||||
description: 'Position of the toast in viewport. Other valid values are "top-left", "top-center", "bottom-left", "botton-center", "bottom-right" and "center".'
|
||||
},
|
||||
{
|
||||
name: "autoZIndex",
|
||||
type: "boolean",
|
||||
default: "true",
|
||||
description: "Whether to automatically manage layering."
|
||||
},
|
||||
{
|
||||
name: "baseZIndex",
|
||||
type: "number",
|
||||
default: "0",
|
||||
description: "Base zIndex value to use in layering."
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
toast: {
|
||||
name: "Toast",
|
||||
description: "Toast is used to display messages in an overlay.",
|
||||
props: ToastProps
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue