Socket
Socket
Sign inDemoInstall

vue-ctk-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-ctk-tooltip

A VueJs directive for a simple tooltip


Version published
Weekly downloads
49
increased by133.33%
Maintainers
1
Weekly downloads
 
Created
Source

vue-ctk-tooltip

Ctk Tooltip Example

Just a directive for a simple tooltip

Demo

An example is available

Installation

npm

npm install --save vue-ctk-tooltip

Usage

Globally

main.js

import Vue from 'vue'
import CtkTooltip from 'vue-ctk-tooltip'
import 'vue-ctk-tooltip/ctk-tooltip.css'

Vue.directive('ctk-tooltip', CtkTooltip)

Note : Always import .css in main.js

In single component

YourComponent.vue

import CtkTooltip from 'vue-ctk-tooltip'
export default {
  name: 'YourComponent',
  directives: {
    CtkTooltip
  }
}
<button v-ctk-tooltip="'Your tooltip message'">Hover Me</button>

Keywords

FAQs

Package last updated on 12 Apr 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