@skyux/modals
Version:
This library was generated with [Nx](https://nx.dev).
19 lines (18 loc) • 745 B
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Provides a way to mark a modal as "dirty" and displays a confirmation
* message when a user closes the modal without saving.
*/
export declare class SkyModalIsDirtyDirective implements OnInit, OnDestroy {
#private;
/**
* Whether the user edited an input on the modal.
* @required
*/
isDirty: boolean;
ngOnInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalIsDirtyDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyModalIsDirtyDirective, "sky-modal[isDirty]", never, { "isDirty": { "alias": "isDirty"; "required": false; }; }, {}, never, never, true, never>;
}