Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

org.webjars.bower:paper-tooltip

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.webjars.bower:paper-tooltip

WebJar for paper-tooltip

  • 2.1.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

Build status

Demo and API docs

<paper-tooltip>

Material design: Tooltips

<paper-tooltip> is a label that appears on hover and focus when the user hovers over an element with the cursor or with the keyboard. It will be centered to an anchor element specified in the for attribute, or, if that doesn't exist, centered to the parent node containing it.

Example:

<div style="display:inline-block">
  <button>Click me!</button>
  <paper-tooltip>Tooltip text</paper-tooltip>
</div>

<div>
  <button id="btn">Click me!</button>
  <paper-tooltip for="btn">Tooltip text</paper-tooltip>
</div>

The tooltip can be positioned on the top|bottom|left|right of the anchor using the position attribute. The default position is bottom.

<paper-tooltip for="btn" position="left">Tooltip text</paper-tooltip>
<paper-tooltip for="btn" position="top">Tooltip text</paper-tooltip>

Styling

The following custom properties and mixins are available for styling:

Custom propertyDescriptionDefault
--paper-tooltip-backgroundThe background color of the tooltip#616161
--paper-tooltip-opacityThe opacity of the tooltip0.9
--paper-tooltip-text-colorThe text color of the tooltipwhite
--paper-tooltipMixin applied to the tooltip{}
--paper-tooltip-delay-inDelay before tooltip starts to fade in500
--paper-tooltip-delay-outDelay before tooltip starts to fade out0
--paper-tooltip-duration-inTiming for Animation when showing tooltip500
--paper-tooltip-duration-outTimining for Animation when hiding tooltip0
--paper-tooltip-animationMixin applied to the tooltip animation{}

FAQs

Package last updated on 11 Dec 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc