How To CREATE Dialog Box in Angular 4 Project? Step 1 -Download and install the package npm install -- save @ progress / kendo - angular - dialog @ progress / kendo - angular - l10n @ angular / animations Step 2 - Once installed, import the DialogModule in your application root module import { NgModule } from '@angular/core' ; import { BrowserModule } from '@angular/platform-browser' ; import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ; import { DialogModule } from '@progress/kendo-angular-dialog' ; import { AppComponent } from './app.component' ; @ NgModule({ bootstrap : [AppComponent], declarations : [AppComponent], imports : [BrowserModule, BrowserAnimationsModule, DialogModule] }) export class AppModule { } Example - @ Component({ selector : 'my-app' , template : ` < kendo - dialog > < kendo - dialog - titlebar > ...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers