projects/maplander/shared/src/lib/components/country-code/country-code.service.ts
Methods |
|
constructor(_dialog: MatDialog)
|
||||||
Parameters :
|
Public open |
open()
|
Returns :
MatDialogRef<CountryCodeComponent>
|
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
});
}
}