Skip to Content
0

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

Dec 13, 2017 at 06:20 PM

19

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Richard Zhao
Dec 14, 2017 at 10:26 AM
0

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);
Share
10 |10000 characters needed characters left characters exceeded