0.6.0 • Published 6 years ago

@angular2-mdl-ext/popover v0.6.0

Weekly downloads
18
License
MIT
Repository
github
Last release
6 years ago

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

NameTypeDescription
[hide-on-click]booleanHide popover on clicking inside it, default false
[style.*]...Styling i.e. [style.width.px]="300"
0.6.0

6 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.3.0

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago