Skip to content

Commit

Permalink
Update version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
object505 committed Dec 24, 2014
1 parent 274d5a6 commit 77ede9a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ A Lightweight Responsive jQuery Tooltip Plugin
[![Build Status](https://travis-ci.org/object505/tipso.svg?branch=master)](https://travis-ci.org/object505/tipso)
[![NPM version](http://img.shields.io/npm/v/tipso.svg?style=flat)](https://www.npmjs.org/package/tipso)
[![Bower version](http://img.shields.io/bower/v/tipso.svg?style=flat)](http://bower.io/search/?q=tipso)
[![Gittip](http://img.shields.io/gratipay/object505.svg?style=flat)](https://gratipay.com/object505/)

>There is also a Wordpress version of this plugin. Get it [here](https://wordpress.org/plugins/tipso/)
Expand Down Expand Up @@ -51,7 +52,7 @@ A Lightweight Responsive jQuery Tooltip Plugin
| onShow | function(){} | Function to be executed after tipso is shown |
| onHide | function(){} | Function to be executed after tipso is hidden |

> Additionaly you can use `data-tipso` instead of the title attribute for the tooltip content
> Additionaly you can use `data-tipso` instead of the title attribute for the tooltip content ( set `useTitle: false` )
## API

Expand All @@ -64,6 +65,13 @@ A Lightweight Responsive jQuery Tooltip Plugin

// Destroy tipso tooltip
$('.tipso').tipso('destroy');

// Add a callback before tipso is shown
$('.tipso').tipso({
onBeforeShow: function(){
// Your code
}
});

// Add a callback when tipso is shown
$('.tipso').tipso({
Expand All @@ -79,6 +87,12 @@ A Lightweight Responsive jQuery Tooltip Plugin
}
});

// Load AJAX content to tipso
$('.tipso').tipso({
useTitle: false,
ajaxContentUrl : 'ajax.html'
});

// Update tipso options
$('.tipso').tipso('update', 'content', 'new content');
```
Expand All @@ -91,6 +105,7 @@ Here is the link to the [demo][demo]
For bug reports, questions, feature requests, or other suggestions please create an [issue][issue] on GitHub.
[issue]: https://github.com/object505/tipso/issues/new


## Author
| ![twitter/BojanPetkovski](http://gravatar.com/avatar/30befed2bed6e1690a6b47cf617f7927?s=105](http://twitter.com/BojanPetkovski "Follow @BojanPetkovski on Twitter") |
|---|
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tipso",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Lightweight Responsive jQuery Tooltip Plugin",
"main": ["src/tipso.min.js", "src/tipso.css"],
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"mobile",
"lightweight"
],
"version": "1.0.0",
"version": "1.0.1",
"author": "Bojan Petkovski (http://object505.com/)",
"licenses": [
{
Expand Down
2 changes: 1 addition & 1 deletion tipso.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"mobile",
"lightweight"
],
"version": "1.0.0",
"version": "1.0.1",
"author": {
"name": "Bojan Petkovski",
"url": "http://object505.com"
Expand Down

0 comments on commit 77ede9a

Please sign in to comment.