Skip to content

Commit

Permalink
show toptips to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
progrape committed May 16, 2016
1 parent b5d8ea7 commit 7bff38f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dist/example/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ $(function () {
className: 'cell',
render: function () {
return $('#tpl_cell').html();
},
bind: function (){
$('.container').on('click', '#showTooltips', function (){
$('.js_tooltips').show();
setTimeout(function (){
$('.js_tooltips').hide();
}, 3000);
});
}
};

Expand Down
8 changes: 8 additions & 0 deletions src/example/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ $(function () {
className: 'cell',
render: function () {
return $('#tpl_cell').html();
},
bind: function (){
$('.container').on('click', '#showTooltips', function (){
$('.js_tooltips').show();
setTimeout(function (){
$('.js_tooltips').hide();
}, 3000);
});
}
};

Expand Down

0 comments on commit 7bff38f

Please sign in to comment.