New to Kendo UI for AngularStart a free 30-day trial

Provides a service for opening Dialog windows dynamically (see example).

Definition

Package:@progress/kendo-angular-dialog

Methods

Opens a Dialog window. Requires an element in the application that uses the kendoDialogContainer directive. The created Dialog mounts in the DOM directly after that element.

Parameters:optionsDialogSettings

The options that define the Dialog.

Returns:

DialogRef

  • A reference to the Dialog object and its convenience properties.
Example:
TS
const dialog = this.dialogService.open({
  title: 'Confirm',
  content: 'Are you sure?',
  actions: [
    { text: 'No' },
    { text: 'Yes', themeColor: 'primary' }
  ]
});
dialog.result.subscribe(result => {
  // handle result
});
In this article
DefinitionMethodsopen
Not finding the help you need?
Contact Support