MJDialogService — Programmatic dialog opening. Replaces Kendo DialogService.
DialogService
// Simple confirmconst dialogRef = this.dialogService.Open({ title: 'Confirm', content: 'Are you sure?', actions: [ { text: 'OK', primary: true }, { text: 'Cancel' } ]});dialogRef.Result.subscribe(result => { ... });// Component contentconst dialogRef = this.dialogService.Open({ content: MyDialogComponent, width: 500});dialogRef.Content.instance.someInput = 'value';dialogRef.Result.subscribe(result => { ... }); Copy
// Simple confirmconst dialogRef = this.dialogService.Open({ title: 'Confirm', content: 'Are you sure?', actions: [ { text: 'OK', primary: true }, { text: 'Cancel' } ]});dialogRef.Result.subscribe(result => { ... });// Component contentconst dialogRef = this.dialogService.Open({ content: MyDialogComponent, width: 500});dialogRef.Content.instance.someInput = 'value';dialogRef.Result.subscribe(result => { ... });
Kendo-compatible alias — lowercase open for easier migration.
open
Open a dialog programmatically.
Kendo-compatible API: accepts content as string or Component class, returns a ref with .Content.instance and .Result observable.
content
.Content.instance
.Result
MJDialogService — Programmatic dialog opening. Replaces Kendo
DialogService.Example