New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vtooltip

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

vtooltip

A native vue tooltip component

0.0.1
latest
Source
npm
Version published
Weekly downloads
5
400%
Maintainers
1
Weekly downloads
 
Created
Source

vtooltip

Simple native Vue.js tooltip component

Install

Vue Compatibility

Compatible with Vue 2.0

NPM
$ npm install vtooltip

Register the component

import tooltip from 'vtooltip';
Vue.use(tooltip);

Basic markup should look like this

<tooltip text="Tooltip text">Hover here</tooltip>

Settings

Set tooltip position to above

  • Default: bottom
position="top" 

Set tooltip text size, number will be used to change px size

  • Default: 13
:textsize="15" 

Changes tooltip text color, accepts any allowed CSS color value

  • Default: null
color="red" 

Changes tooltip background color, accepts any allowed CSS color value

  • Default: null
bgcolor="blue" 

Gives the tooltip rounded edges

  • Default: false
:rounded="true" 

Forces the tooltip to always show

  • Default: false
:always="true" 

More features coming soon!

Keywords

vue

FAQs

Package last updated on 10 Sep 2017

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