UNPKG

@kovalenko/has-unsaved-data

Version:

Provides a router guard preventing route deactivation, if the component\`s method decorated with `@CheckUnsavedData()` returns `true`. Also it prevents the window to be unloaded.

8 lines (7 loc) 326 B
export * from './lib/has-unsaved-data.module'; export * from './lib/has-unsaved-data.guard'; export * from './lib/unsaved-data-checker.decorator'; export * from './lib/unsaved-data.config'; export * from './lib/unsaved-data-config.interface'; export * from './lib/confirm-service'; export * from './lib/module-config';