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

md-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

md-tooltip

Angular 2 Material tooltip

latest
Source
npmnpm
Version
0.0.1-alpha.1
Version published
Maintainers
1
Created
Source

md-tooltip

Native Angular2 Material Tooltip directive

Installation

npm install --save md-tooltip

API

Example:

<span tooltip-direction="left" tooltip="On the Left!">Left</span> <br />
<span tooltip-direction="right" tooltip="On the Right!">Right</span> <br />
<span tooltip-direction="bottom" tooltip="On the Bottom!">Bottom</span> <br />
<span tooltip-direction="top" tooltip="On the Top!">Top</span> <br />
<span tooltip-delay='1000' tooltip='appears with delay'>Delayed 1 Second</span>
//app-module.ts

import {MdTooltipModule} from 'md-tooltip/tooltip';

@NgModule({
 imports: [
   MdTooltipModule,
 ],
 declarations: [
   ...
 ]  
})

//component.ts
...

@Component({
   selector: "..."
})

export class ... {
   
   ...

}

Properties

  • tooltip (string) - text of tooltip.
  • tooltip-direction (?string='bottom') - tooltip direction instruction, supported positions: 'top', 'bottom', 'left', 'right'.
  • tooltip-delay (?numer=0) - time in milliseconds before tooltip occurs.

Keywords

angular

FAQs

Package last updated on 31 Aug 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