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

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 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.npmignore

2

package.json
{
"name": "vue-ctk-tooltip",
"version": "1.0.1",
"version": "1.0.2",
"description": "A VueJs directive for a simple tooltip",

@@ -5,0 +5,0 @@ "main": "CtkTooltip.js",

@@ -7,2 +7,4 @@ # vue-ctk-tooltip

Support : Chrome, FireFox, IE9+
## Demo

@@ -15,3 +17,3 @@ An [example](https://htmlpreview.github.io/?https://github.com/chronotruck/vue-ctk-tooltip/blob/master/example/VueCtkTooltip/dist/index.html) is available

``` sh
npm install --save vue-ctk-tooltip
npm install vue-ctk-tooltip --save
```

@@ -21,4 +23,2 @@

#### Globally
main.js

@@ -29,20 +29,6 @@ ```js

import 'vue-ctk-tooltip/ctk-tooltip.css'
Vue.use(CtkTooltip)
```
Vue.directive('ctk-tooltip', CtkTooltip)
```
Note : Always import .css in main.js
#### In single component
YourComponent.vue
```js
import CtkTooltip from 'vue-ctk-tooltip'
export default {
name: 'YourComponent',
directives: {
CtkTooltip
}
}
```
```html

@@ -49,0 +35,0 @@ <button v-ctk-tooltip="'Your tooltip message'">Hover Me</button>

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