Socket
Socket
Sign inDemoInstall

gitbook-plugin-glossary-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-glossary-tooltip - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

3

book/plugin.js

@@ -9,2 +9,3 @@ require([

trigger: 'hover',
placement: 'top',
};

@@ -30,3 +31,3 @@ var selectors = '.gbgt-tooltip';

trigger: /hover|click|focus/.test(opts.trigger) ? opts.trigger : 'hover',
placement: 'left',
placement: /top|left|bottom|right/.test(opts.placement) ? opts.placement : 'top',
modifiers: {

@@ -33,0 +34,0 @@ flip: {

@@ -5,3 +5,3 @@ {

"main": "index.js",
"version": "0.0.3",
"version": "0.0.4",
"engines": {

@@ -50,2 +50,7 @@ "gitbook": ">=2.3.0"

"description": "the event that triggers the tooltip. one of ['hover', 'click', 'focus']"
},
"placement": {
"type": "string",
"default": "top",
"description": "placement of the tooltip relative to the trigger element. one of ['top', 'bottom', 'left', 'right']"
}

@@ -52,0 +57,0 @@ }

@@ -39,2 +39,3 @@ GitBook Glossary Tooltip Plugin

| `trigger` {string} <br> **default**: `hover` | the event that triggers the tooltip. one of ['hover', 'click', 'focus'] |
| `placement` {string} <br> **default**: `top` | placement of the tooltip relative to the trigger element. one of ['top', 'bottom', 'left', 'right']" |

@@ -41,0 +42,0 @@

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