Gathering detailed insights and metrics for ng2-window-view
Gathering detailed insights and metrics for ng2-window-view
Gathering detailed insights and metrics for ng2-window-view
Gathering detailed insights and metrics for ng2-window-view
npm install ng2-window-view
Typescript
Module System
Node Version
NPM Version
TypeScript (74.58%)
HTML (21.43%)
JavaScript (3.46%)
CSS (0.53%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
12 Stars
84 Commits
8 Forks
6 Watchers
3 Branches
1 Contributors
Updated on Oct 07, 2023
Latest Version
0.1.2
Package Id
ng2-window-view@0.1.2
Size
76.36 kB
NPM Version
3.8.9
Node Version
6.3.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
25
A few of core class for implement window more convenient, and provide collection of common type of modal, dialog components.
WindowViewContainerComponent
- A window component using bootstrap panel
class.
Anything wrap by this will present as content of a window.
Provide some common config.
WindowViewOutletComponent
- An outlet component similar to router-outlet
.
Require WindowViewService
, any window push from WindowViewService
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 what WindowViewLayerService
do.
If a WindowViewContainerComponent
enable floating
and
disable showBackground
, it will be push into WindowViewLayerService
.
All windows in WindowViewLayerService
can change z-index
by clicking
component.
ConfirmDialog
$ npm install --save ng2-window-view
1import { NgModule } from '@angular/core'; 2import { WindowViewModule } from 'ng2-window-view'; 3import { MyWindowComponent } from './my-window-component'; 4 5@NgModule({ 6 imports: [ 7 WindowViewModule 8 ], 9 entryComponents: [ 10 // window component have to provide a component factory, 11 // by adding component to `entryComponents`. 12 MyWindowComponent 13 ] 14}) 15export class AppModule {}
1import { Component } from '@angular/core'; 2import { WindowViewContainerComponent } from 'ng2-window-view'; 3 4@Component({ 5 selector: 'my-window', 6 template: ` 7 <window-view-container [heading]="windowTitle"> 8 It's a window!! 9 </window-view-container>` 10}) 11export class MyWindowComponent { 12 windowTitle: string = 'Title here!'; 13}
1import { Component, ComponentRef } from '@angular/core'; 2import { WindowViewOutletComponent, WindowViewService } from 'ng2-window-view'; 3import { MyWindowComponent } from './my-window'; 4 5@Component({ 6 selector: 'app-root', 7 template: ` 8 <button (click)="openWindow()">Open Window</button> 9 <window-view-outlet></window-view-outlet> 10 `, 11 providers: [WindowViewService] 12}) 13export class AppComponent { 14 constructor(private windowView: WindowViewService) {} 15 16 openWindow() { 17 this.windowView.pushWindow(MyWindowComponent); 18 } 19}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
project is archived
Details
Reason
Found 0/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More