New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ng2dialog

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2dialog

a simple dialog div for angular2

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

simple dialog

#Installation

npm install ng2dialog

and import it

import { Ng2DialogComponent } from 'ng2dialog/ng2-dialog.component';


@NgModule({
  declarations: [ Ng2DialogComponent
  ]

#Usage

  <button (click)="dlg.open = true">open dialog</button>

  <ng2-dialog #dlg >
    <div>This is the content of my dialog dialog</div>
  </ng2-dialog>

or you can add footers / headers

<ng2-dialog #dlg >
  <header>header</header>
  <section>This is the content of my dialog dialog</section>
  <footer>footer</footer>
</ng2-dialog>

Keywords

angular

FAQs

Package last updated on 31 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts