Onboardist Events
document.querySelector('#tooltip-button').addEventListener('click', () => {
Onboardist.UI.fire('custom-event');
});
Onboardist.UI.configure({
components: [{
name: 'tooltip01',
component: 'tooltip',
args: {
attach: '#tooltip-button',
title: 'Hey, You Clicked!',
content: 'Cool click, bro.',
events: {
'custom-event': 'show',
},
},
}],
});