DialogComponent
Represents the Kendo UI Dialog component for Angular.
Use this component to display modal dialog windows in your application.
import { Component } from '@angular/core';
@Component({
  selector: 'my-app',
  template: `
    <kendo-dialog title="Example Dialog">
      <p>Dialog content goes here.</p>
    </kendo-dialog>
  `
})
export class AppComponent {}Selector
kendo-dialog
Export Name
Accessible in templates as #kendoDialogInstance="kendoDialog"
Inputs
| Name | Type | Default | Description | 
|---|---|---|---|
| actions | 
 | Specifies the action buttons to render in the Dialog. | |
| actionsLayout | 
 | 
 | Sets the layout of the action buttons in the Dialog. Applies only if you specify action buttons through the  | 
| animation | 
 | 
 | Configures the Dialog opening animation (see example).
The default animation type is  | 
| autoFocusedElement | 
 | Sets the query selector for the element to receive initial focus. (See examples.) | |
| height | 
 | Sets the height of the Dialog. Use a number for pixels or a string for units (for example,  | |
| maxHeight | 
 | Sets the maximum height of the Dialog. Use a number for pixels or a string for units (for example,  | |
| maxWidth | 
 | Sets the maximum width of the Dialog. Use a number for pixels or a string for units (for example,  | |
| minHeight | 
 | Sets the minimum height of the Dialog. Use a number for pixels or a string for units (for example,  | |
| minWidth | 
 | Sets the minimum width of the Dialog. Use a number for pixels or a string for units (for example,  | |
| themeColor | 
 | Sets a predefined theme color for the Dialog. The color applies to the title bar background and border, and updates the text color. | |
| title | 
 | Sets the text in the Dialog title bar. | |
| width | 
 | Sets the width of the Dialog. Use a number for pixels or a string for units (for example,  | 
Events
| Name | Type | Description | 
|---|---|---|
| action | 
 | Emits when the user clicks an action button in the Dialog. Fires only if you specify action buttons through the  | 
| close | 
 | Emits when the user clicks the Close button or presses the  | 
Methods
| focus | 
|---|
| Focuses the wrapper of the Dialog component. |