/* Copyright © 2016-2019 Lidor Systems. All rights reserved. This file is part of the "IntegralUI Web" Library. The contents of this file are subject to the IntegralUI Web License, and may not be used except in compliance with the License. A copy of the License should have been installed in the product's root installation directory or it can be found at http://www.lidorsystems.com/products/web/studio/license-agreement.aspx. This SOFTWARE is provided "AS IS", WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. Any infringement will be prosecuted under applicable laws. */ import { Component, ViewContainerRef, ViewChild, ViewChildren, ViewEncapsulation } from '@angular/core'; @Component({ selector: '', template: `

Dialog / Overview

Add your content here


IntegralUI Dialog is a native Angular component that displays a modal window. When dialog is visible, user interaction with all other elements on the page is suspended, except for the dialog content.

You can add custom content to the dialog consisting of HTML elements or other Angular components. If you click on the gray area outside of the dialog, the dialog will close firing events.

The following properties and events are supported:

For more information check out the source code of this sample (dialog/dialog-overview.ts) file.

`, encapsulation: ViewEncapsulation.None }) export class DialogOverviewSample { public isDialogVisible: boolean = false; public showCloseButton: boolean = true; constructor(){ } showDialog(){ this.isDialogVisible = true; //this.dialog.open(); } onDialogClosed(){ this.isDialogVisible = false; } }