Socket
Socket
Sign inDemoInstall

cp-tooltip

Package Overview
Dependencies
4
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

cp-tooltip

Component Description


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
5
Created
Weekly downloads
 

Readme

Source

cp-tooltip

A simple tooltip widget for the canopy style guide

Requirements

  • Angular 1.3
  • jQuery

Installation

  1. Install through npm npm install --save cp-tooltip
  2. Make sure your app depends upon 'cp-tooltip':
angular.module('app', ['cp-tooltip']);

Usage

Markup:

<input type="text" cp-tooltip="Hey this is the message"/>

If you'd like the tooltip instantly render, include the cp-tooltip-instant attribute:

<input type="text" cp-tooltip="Hey this is the message" cp-tooltip-instant/>

If you want the tooltip to stay visible while the user interacts with the tooltip itself, include the cp-tooltip-allow-interaction attribute. This is useful when you want to allow the user to highlight and copy the contents of the tooltip.

<input type="text" cp-tooltip="Hey this is the message" cp-tooltip-allow-interaction/>

Demo

http://canopytax.github.io/cp-tooltip/

FAQs

Last updated on 08 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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc