File

projects/maplander/shared/src/lib/components/country-code/country-code.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';
import {CountryCodeComponent} from './country-code.component';

@Injectable()
export class CountryCodeService {

  constructor(
    private _dialog: MatDialog
  ) {
  }

  public open(): MatDialogRef<CountryCodeComponent> {
    return this._dialog.open(CountryCodeComponent, {
      panelClass: 'country-code-panel',
      disableClose: true
    });
  }
}

result-matching ""

    No results matching ""