Reputation: 377
I'm using this jQuery plugin called Tooltipster (https://iamceege.github.io/tooltipster/#options). Is it possible to open the content and arrow on the left side? I've been reading their documentation and it seems that I can't get it working. Any help is much appreciated! Here's my code:
HTML
<span class="tooltip" title="Test Content Here">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
</span>
JS
$('.tooltip').tooltipster({
theme: 'tooltipster-shadow',
trigger: 'click',
position: 'bottom'
});
I'm getting this output:
But I would really like to get this output:
Thank you so much!
Upvotes: 0
Views: 1203
Reputation: 377
I've managed to solve this issue by using 'bottom-left' on 'position' property name.
$('.tooltip').tooltipster({
theme: 'tooltipster-shadow',
trigger: 'click',
position: 'bottom-left'
});
Thank you!
Upvotes: 0
Reputation: 1639
I Read the options and I think you can move the tooltip. Modify your code in this way:
$('.tooltip').tooltipster({
theme: 'tooltipster-shadow',
trigger: 'click',
position: 'bottom',
side:'left'
});
I think it migth work.
Upvotes: 0