@nospamproxy/core
    Preparing search index...

    A service to open generic dialogs.

    @autoinject
    class Example {
    constructor(private readonly dialogService: GenericDialogService) {}

    async example() {
    const result = await this.dialogService.open({ viewModel: MyDialog });
    if (!result.canceled) {
    console.log("Dialog returned:", result.value);
    }
    }
    }
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Closes all dialogs.

      This should be used with caution. Prefer using the GenericDialogController instead.

      Returns Promise<void>