Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about elemnts #3

Open
elyasmotazedy opened this issue May 5, 2018 · 1 comment
Open

question about elemnts #3

elyasmotazedy opened this issue May 5, 2018 · 1 comment

Comments

@elyasmotazedy
Copy link

thanks for this plugin

i have a question how to set more than on element

$.tooltipster.startSelectable(
'p', // # i mean here
function(instance, text) {
return text;
}

);
@macmessa
Copy link

I know this reply it's a little too late, but in case you're still confused, you can set multiple elements just like in other jQuery stuff:

$.tooltipster.startSelectable(
	'#elementId, .elementClass',
	function(instance, text) {
		return text;
	},
	{ animation: 'slide' }
);

Fiddle:

https://jsfiddle.net/macmessa/subt0faj/

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

No branches or pull requests

2 participants