From c3306acaf58cb53be8908f9f5c7940540861506f Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 14 Jun 2022 14:46:56 +0300 Subject: [PATCH] Docs for DynamicDialog --- src/views/dynamicdialog/DynamicDialogDoc.vue | 278 +++++++++++++------ src/views/toast/ToastDoc.vue | 7 + 2 files changed, 197 insertions(+), 88 deletions(-) diff --git a/src/views/dynamicdialog/DynamicDialogDoc.vue b/src/views/dynamicdialog/DynamicDialogDoc.vue index db78dda00..15cab651f 100644 --- a/src/views/dynamicdialog/DynamicDialogDoc.vue +++ b/src/views/dynamicdialog/DynamicDialogDoc.vue @@ -1,7 +1,8 @@ diff --git a/src/views/toast/ToastDoc.vue b/src/views/toast/ToastDoc.vue index e26a7b3c6..96af65b42 100755 --- a/src/views/toast/ToastDoc.vue +++ b/src/views/toast/ToastDoc.vue @@ -29,6 +29,13 @@ import Toast from 'primevue/toast';

Ideal location of a Toast is the main application template so that it can be used by any component within the application. A single message is represented by the Message interface in PrimeVue that defines various properties such as severity, summary and detail.

+

+<template>
+    <Toast />
+<template>
+
+
+
Options API

$toast is available as a property in the application instance.