https://github.com/emalherbi-zz/btooltip
The BTooltip plugin JS, created for destroy tooltip bootstrap automatically!
https://github.com/emalherbi-zz/btooltip
Last synced: about 2 months ago
JSON representation
The BTooltip plugin JS, created for destroy tooltip bootstrap automatically!
- Host: GitHub
- URL: https://github.com/emalherbi-zz/btooltip
- Owner: emalherbi-zz
- Created: 2015-02-06T17:53:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-29T16:54:37.000Z (almost 10 years ago)
- Last Synced: 2025-03-10T21:14:27.179Z (about 2 months ago)
- Language: JavaScript
- Homepage: http://emalherbi.github.io/btooltip/
- Size: 270 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [BTooltip](http://emalherbi.github.io/btooltip/)
[](https://github.com/emalherbi/btooltip/)
[](https://travis-ci.org/emalherbi/btooltip)
[](https://sourcegraph.com/github.com/emalherbi/btooltip)
[](https://sourcegraph.com/github.com/emalherbi/btooltip)
[](https://sourcegraph.com/github.com/emalherbi/btooltip)The BTooltip plugin JS, created for destroy [tooltip bootstrap](http://getbootstrap.com/javascript/#tooltips) automatically!
## Bower.io
This package is available on Bower.
#### Installing
```sh
# install a package and add it to bower.json
$ bower install btooltip --save
```#### Install Bower.io
```sh
$ npm install -g bower
```Bower depends on [Node.js](http://nodejs.org/) and [npm](http://npmjs.org/). Also make sure that [git](http://git-scm.com/) is installed as some bower
packages require it to be fetched and installed.## Usage
```javascript
$('#input').btooltip({title : 'msg', placement: 'right'});
```## Options
```
@param placement | type : string | default : top | how to position the popover - top | bottom | left | right
@param title | type : string | | default title value if `title` tag isn't present
@param destroy | type : boolean | default : true | destroy tooltip or not
@param time | type : number | default : 2000 | time to tooltip destroy (miliseconds)
```## Required
[jQuery](http://jquery.com/). [Bootstrap](http://getbootstrap.com/).
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Test your changes to the best of your ability.
4. Update the documentation to reflect your changes if they add or changes current functionality.
5. Commit your changes (`git commit -am 'Added some feature'`)
6. Push to the branch (`git push origin my-new-feature`)
7. Create new Pull Request## Creator
Created and maintained by [Eduardo Malherbi](https://github.com/emalherbi).
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)