Skip to Content
avatar image
Former Member

how to execute an simulate event from de controller of a view

I want to execute a simulate an event from the view.controller.js, a click event, but i don't want the user have to press it, i want to press automaticaly,

any help is welcome

thanks in advance

Rafael Zablah

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 14, 2017 at 10:26 AM

    Hello, Rafael. I suggest that you could trigger this event by using a cronjob.

    I would like to show an example: the cronjob will trigger initTable event per minute. Hopefully, the approach can face your requirement. thanks

    setInterval(self.initTable.bind(self),1000*60);
    
    Add comment
    10|10000 characters needed characters exceeded