Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

127
Views
Want to add Javascript code/ Script tag in angular component ts/html file

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?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!