Skip to content

Conversation

@gazchap
Copy link

@gazchap gazchap commented Feb 20, 2017

Have added a "showEvents" option and a "hideEvents" option, which default to 'mouseover' and 'mouseout' respectively.

The options can be a space-separated string of events, or an array of events, that trigger the tooltip to be shown or hidden.

Useful if you want a tooltip to show on an input element when the cursor is focused on it (e.g. on tablet devices where mouseover isn't traditionally possible.)

Example:

$('.tipso').tipso({ showEvents: 'mouseover focus', hideEvents: 'mouseout blur' });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant