@studiohyperdrive/ngx-forms
Version:
An Angular package to help with complex forms and their validation.
11 lines (10 loc) • 370 B
TypeScript
import { CanDeactivateFn } from '@angular/router';
import { NgxSaveOnExitComponent } from '../../abstracts';
/**
* Checks whether or not we can navigate away from a page
*
* @param {NgxSaveOnExitComponent} component
* @return {*} {ObservableBoolean}
* @memberof SaveOnExitGuard
*/
export declare const NgxSaveOnExitGuard: CanDeactivateFn<NgxSaveOnExitComponent>;