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

@angular-mdl/popover

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-mdl/popover

Angular Material Design Lite - Popover Component

latest
Source
npmnpm
Version
15.0.0
Version published
Weekly downloads
178
-58.51%
Maintainers
1
Weekly downloads
 
Created
Source

Popover

Installing

npm i --save @angular-mdl/popover

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

If you need to support IE11 please add https://www.npmjs.com/package/custom-event-polyfill to your polyfills.

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"
(onHide)...on hide event
(onShow)...on show event

Keywords

angular2

FAQs

Package last updated on 23 Dec 2022

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