ng2-window-view
Concept
A few of core class for implement window more convenient, and provide collection of common type of modal, dialog components.
Core Classes
-
WindowViewContainerComponent
- A window component using bootstrappanel
class. Anything wrap by this will present as content of a window. Provide some common config. -
WindowViewOutletComponent
- An outlet component similar torouter-outlet
. RequireWindowViewService
, any window push fromWindowViewService
will be placed after outlet component. -
WindowViewService
- For management of windows. It treat all windows as a stack. You can push or pop window from it. -
WindowViewLayerService
- Some case, you need multi-floating window feature, that is whatWindowViewLayerService
do. If aWindowViewContainerComponent
enablefloating
and disableshowBackground
, it will be push intoWindowViewLayerService
. All windows inWindowViewLayerService
can changez-index
by clicking component.
Components
ConfirmDialog
Usage
$ npm install --save ng2-window-view
Quick Start
- Import module.
;;;
- Create your window component.
;;
- Push window component.
;;;