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

187
Views
How to close a window post function call?

I have at the end of my user journey a popup modal saying 'Success! You may now return to X', which then triggers a function to 'confirm' the Step.. However, the user has to manually close the page and I would like it to close itself, perhaps on a short timer from when the 'confirmStep' function is called. However the only method I could find for this is Window.close(), which won't work as I don't ever call Window.open(). Does anyone have a suggestion for a way around this issue? Code attached below for context:

confirm() {
  this.$buefy.dialog.confirm({
    message: this.t('tickets.stages.confirmation.simplified_confirm_reply'),
    onConfirm: () => this.confirmStep()
  })
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!