Hi all,
I want to auto refresh my UI5 Project. Here is my code from an other question in a controller. sap.ui.define([
"sap/ui/core/mvc/Controller"
], function (Controller) {
"use strict";
return Controller.extend("DurchstichSYS.DurchstichSYS.controller.refresh", {
[window.]setInterval(functionToRefreshModel,1000); //Trigger this function every 1000 milliseconds
}
});
});
I get a error like "parsing error unexpected token". Please help me.
Request clarification before answering.
you'd better learn some basic javascript, what you are asking has nothing to do with ui5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.