ng2-window-view example

0%

Import Module

import { NgModule } from '@angular/core';
import { WindowViewModule } from 'ng2-window-view';

@NgModule({
  imports: [
    WindowViewModule
  ],
  entryComponents: [
    // window component have to provide a component factory,
    // by adding component to `entryComponents`.
    MyWindowComponent
  ]
})
export class AppModule {}

Simple Usage

Example

Code


      

Without Service

Example

Code


      

Access Flow

Example

Code


      

Multi Floating Window

Example

Code


      

Core API

WindowViewService



        

WindowViewLayerService



        

WindowViewCanClose


        
        

WindowViewHasResult



        

WindowViewContainer



      

Confirm Dialog

Example

Code


      

Components API

ConfirmDialogComponent