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

hint-css.js

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hint-css.js

hint.css by jquery

  • 1.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

hint-css.js

hint css by jQuery

Example

  • https://live.bootstrap-table.com/code/wenzhixin/1362
  • https://live.bootstrap-table.com/code/wenzhixin/1361

Install

NPM or YARN

npm install hint-css.js
# or
yarn add hint-css.js

CDN

<link rel="stylesheet" href="https://unpkg.com/hint-css.js@1.5.0/src/hint-css.css">
<script src="https://unpkg.com/hint-css.js@1.5.0/src/hint-css.js"></script>

How to use

<!-- hint--bottom by default -->
<button data-hint="Tooltips">bottom</button>
<button class="hint--top" data-hint="Tooltips">top</button>
<button class="hint--left" data-hint="Tooltips">left</button>
<button class="hint--right" data-hint="Tooltips">right</button>

Class

  • hint--bottom
  • hint--top
  • hint--left
  • hint--right

Options

$.hint.defaults = {
  className: null,
  delayIn: 800,
  fade: false,
  fallback: '',
  gravity: 'n',
  html: false, //data-hint-html="true|false"
  live: false,
  offset: 0,
  opacity: 0.8,
  title: 'title',
  textAlign: 'left',  //data-hint-align="left"
  maxWidth: 0  // data-hint-max-width
}

Why

hint.css is a CSS only tooltip library for your lovely websites.

It is very easy to use but there are some problems when I am using in bootstrap-table.

1

I want to solve this problem but I don't have a good idea. So I create this jQuery plugin.

2


Thanks for hint.css and tipsy.

FAQs

Package last updated on 01 Aug 2024

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