Skip to content

Commit 77ede9a

Browse files
committed
Update version to 1.0.1
1 parent 274d5a6 commit 77ede9a

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ A Lightweight Responsive jQuery Tooltip Plugin
66
[![Build Status](https://travis-ci.org/object505/tipso.svg?branch=master)](https://travis-ci.org/object505/tipso)
77
[![NPM version](http://img.shields.io/npm/v/tipso.svg?style=flat)](https://www.npmjs.org/package/tipso)
88
[![Bower version](http://img.shields.io/bower/v/tipso.svg?style=flat)](http://bower.io/search/?q=tipso)
9+
[![Gittip](http://img.shields.io/gratipay/object505.svg?style=flat)](https://gratipay.com/object505/)
910

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

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

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

6566
// Destroy tipso tooltip
6667
$('.tipso').tipso('destroy');
68+
69+
// Add a callback before tipso is shown
70+
$('.tipso').tipso({
71+
onBeforeShow: function(){
72+
// Your code
73+
}
74+
});
6775

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

90+
// Load AJAX content to tipso
91+
$('.tipso').tipso({
92+
useTitle: false,
93+
ajaxContentUrl : 'ajax.html'
94+
});
95+
8296
// Update tipso options
8397
$('.tipso').tipso('update', 'content', 'new content');
8498
```
@@ -91,6 +105,7 @@ Here is the link to the [demo][demo]
91105
For bug reports, questions, feature requests, or other suggestions please create an [issue][issue] on GitHub.
92106
[issue]: https://github.com/object505/tipso/issues/new
93107

108+
94109
## Author
95110
| ![twitter/BojanPetkovski](http://gravatar.com/avatar/30befed2bed6e1690a6b47cf617f7927?s=105](http://twitter.com/BojanPetkovski "Follow @BojanPetkovski on Twitter") |
96111
|---|

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tipso",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A Lightweight Responsive jQuery Tooltip Plugin",
55
"main": ["src/tipso.min.js", "src/tipso.css"],
66
"keywords": [

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"mobile",
1111
"lightweight"
1212
],
13-
"version": "1.0.0",
13+
"version": "1.0.1",
1414
"author": "Bojan Petkovski (http://object505.com/)",
1515
"licenses": [
1616
{

tipso.jquery.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"mobile",
1111
"lightweight"
1212
],
13-
"version": "1.0.0",
13+
"version": "1.0.1",
1414
"author": {
1515
"name": "Bojan Petkovski",
1616
"url": "http://object505.com"

0 commit comments

Comments
 (0)