Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mburakerman/toolgif

💭 The only GIF tooltip plugin you need
https://github.com/mburakerman/toolgif

gif gif-tooltip giphy plugin tooltip

Last synced: 3 months ago
JSON representation

💭 The only GIF tooltip plugin you need

Awesome Lists containing this project

README

        

# Toolgif

>The only GIF tooltip plugin you need

## Install

[![NPM](https://nodei.co/npm/toolgif.png?mini=true)](https://www.npmjs.com/package/toolgif/)

or use CDN
```html

```

## Usage

### Simple Usage

```html

Lorem ipsum dolor sit cat.


```

```js

new Toolgif(".my-class").toolgif();

```
[Simple usage CodePen demo ](https://codepen.io/anon/pen/VxPYwW/)

**Visit the [website](https://mburakerman.github.io/toolgif/) for more examples and settings.**

## Customize

```js
new Toolgif(".my-class", {
width: 120,
height: 100,
borderRadius: 5,
placement: "top",
downsized: true, // File size under 2mb (see https://developers.giphy.com/docs/)
preloader: // data url here(it's kinda long as you expect so i didn't put here)
}).toolgif();
```

## License

Licensed under the MIT License.