0.0.3 • Published 3 years ago

2yy-ngx-overlay v0.0.3

Weekly downloads
33
License
MIT
Repository
github
Last release
3 years ago

NgxOverlay

Test Maintainability Test Coverage

Installation

npm i 2yy-ngx-overlay

Motivation

  • To follow the DRY Principle when writing overlay showing/hiding logic.
  • Manage multiple overlay state in a screen.

Usage

  1. Create your overlay slot (with your overlay config)
  2. Attach your overlay to slot

Create your overlay slot

this.myOverlaySlotId = this.ngxOverlayService.addOverlaySlot(myOverlayConfig)

Attach your overlay to slot

this.ngxOverlayService.show(this.myPortal, this.myOverlaySlotId)

License

MIT License

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago