I have written frontend in Angular. I am using driver.js npm package for web tour guide. That package has close, previous and next button.
Driver.js docs:- https://kamranahmed.info/driver.js/
GOAL:- I want to add click event on close button.
Problem:- There isn't any function in package to do some custom code on close button click event.
My Idea:- Seems like it will work if i add click event through script tag in html/ts file. But, i don't know how to add script tag nd add event on close button in component.
Can someone help me to figure out this?