# @angular2-mdl-ext/popover

> Angular 2 Material Design Lite - Popover Component

Latest version **0.6.0** (published 2017-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @angular2-mdl-ext/popover
pnpm add @angular2-mdl-ext/popover
yarn add @angular2-mdl-ext/popover
bun add @angular2-mdl-ext/popover
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.0 |
| Published | 2017-03-13 |
| First published | 2016-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 99 |
| Maintainers | angular2-mdl-ext |
| Keywords | angular2, material design lite, popover |

## Links

- npm: https://www.npmjs.com/package/@angular2-mdl-ext/popover
- Repository: https://github.com/mseemann/angular2-mdl-ext
- Homepage: https://github.com/mseemann/angular2-mdl-ext#readme
- Issues: https://github.com/mseemann/angular2-mdl-ext/issues
- npm.io page: https://npm.io/package/@angular2-mdl-ext/popover

## Recent versions

- 0.6.0 (latest) — 2017-03-13
- 0.5.0 — 2016-12-01
- 0.4.1 — 2016-10-12
- 0.3.0 — 2016-10-10
- 0.2.3 — 2016-10-04
- 0.2.2 — 2016-10-03
- 0.2.1 — 2016-09-30
- 0.2.0 — 2016-09-27
- 0.1.2 — 2016-09-26
- 0.1.1 — 2016-09-25
- 0.1.0 — 2016-09-21
- 0.0.3 — 2016-09-18
- 0.0.2 — 2016-09-12

## README

# Popover

### Installing

    npm i --save @angular2-mdl-ext/popover

    import { MdlPopoverModule } from '@angular2-mdl-ext/popover';

### Usage example

    <button
        mdl-button
        (click)="myPopover.toggle($event)"
        mdl-button-type="icon"
        mdl-ripple>
      <mdl-icon>more_vert</mdl-icon>
    </button>
    
    <mdl-popover #myPopover [style.width.px]="300">
      <div mdl-shadow="6" style="padding: 1rem;">
        <b>This is example popover</b> you can put any HTML content here.
      </div>
    </mdl-popover>

### API Summary

#### mdl-popover

| Name | Type | Description |
| --- | --- | --- |
| `[hide-on-click]` | boolean | Hide popover on clicking inside it, default `false`
| `[style.*]` | ... | Styling i.e. `[style.width.px]="300"`

---
_Source: https://npm.io/package/@angular2-mdl-ext/popover · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
