JSFiddle - React, Tailwind, and code Playground
HTML
<div id="example">This is tooltip</div>
JavaScript
$('#example').tooltipster({
trigger: 'custom',
triggerOpen: {
click: true,
tap: true
},
triggerClose: {
click: true,
tap: true
}
});