From 900c9ca092a0606ca864043a77029e255713eacc Mon Sep 17 00:00:00 2001 From: essentialjs2 Date: Thu, 15 Jul 2021 08:11:28 +0000 Subject: [PATCH] documentation(EJ2-000): source update from ej2-popups-docs --- src/popups/dialog/template.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/popups/dialog/template.md b/src/popups/dialog/template.md index 9ed889f..e12a1af 100644 --- a/src/popups/dialog/template.md +++ b/src/popups/dialog/template.md @@ -21,9 +21,13 @@ The Dialog footer can be enabled by adding built-in [`buttons`](../api/dialog/#b > The [`buttons`](../api/dialog/#buttons) and [`footerTemplate`](../api/dialog/#footertemplate) properties can't be used at the same time. -The below example demonstrates the usage of header and footer template in the Dialog +## Content -{% tab template="dialog/template",sourceFiles="app.ts,index.html,styles.css", es5Template="templates-template" %} +The Dialog content can be provided through the [`content`](../api/dialog/#content) property, and it accepts both text and HTML string as content. + +The below example demonstrates the usage of header, footer and content templates in the Dialog control. + +{% tab template="dialog/template",sourceFiles="app.ts,index.html,styles.css",es5Template="templates-template" %} ```typescript