UNPKG

@rero/ng-core

Version:

RERO angular core library.

20 lines (19 loc) 832 B
import * as i0 from "@angular/core"; /** * Doc: https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event * * The beforeunload event is fired when the window, the document and its resources * are about to be unloaded. The document is still visible and the event is still * cancelable at this point. */ export declare abstract class AbstractCanDeactivateComponent { abstract canDeactivate: boolean; unloadNotification($event: any): void; /** * Can deactivate changed on editor * @param activate - boolean */ canDeactivateChanged(activate: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<AbstractCanDeactivateComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AbstractCanDeactivateComponent, "ng-component", never, {}, {}, never, never, false, never>; }