🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@angular2-material/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular2-material/tooltip

Angular 2 Material tooltip

Source
npmnpm
Version
2.0.0-alpha.8-experimental1
Version published
Maintainers
1
Created
Source

MdTooltip

Tooltip allows the user to specify text to be displayed when the mouse hover over an element.

Setup

For alpha.7, you need to include the overlay styles in your app via a link element. This will look something like

<link href="vendor/@angular2-material/core/overlay/overlay.css" rel="stylesheet">

Examples

A button with a tooltip

<button md-tooltip="some message" tooltip-position="below">Button</button>

[md-tooltip]

Properties

NameTypeDescription
md-tooltipstringThe message to be displayed.
tooltip-position`"above""below"

Methods

| Name | Description | | --- | --- | --- | | show | Displays the tooltip. | | hide | Removes the tooltip. | | toggle | Displays or hides the tooltip. |

Keywords

angular

FAQs

Package last updated on 13 Sep 2016

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