File

projects/maplander/components/src/lib/components/property/components/announce-confirm/announce-confirm.service.ts

Index

Methods

Constructor

constructor(_dialog: MatDialog)
Parameters :
Name Type Optional
_dialog MatDialog No

Methods

Public open
open()
import {Injectable} from '@angular/core';
import {MatDialog, MatDialogRef} from '@angular/material/dialog';
import {DialogResponse} from '@maplander/types';
import {AnnounceConfirmComponent} from './announce-confirm.component';

@Injectable()
export class AnnounceConfirmService {

  constructor(private _dialog: MatDialog) {
  }

  public open():
    MatDialogRef<AnnounceConfirmComponent, DialogResponse<any>> {
    return this._dialog.open(AnnounceConfirmComponent, {
      disableClose: true,
      panelClass: 'confirm-announce-panel-class'
    });
  }
}

result-matching ""

    No results matching ""