Translate

Tuesday, May 26, 2015

Extjs TaskRunner Example (Extjs delay)

function ConsoleWrite() {
console.log(Ext.Date.format(new Date(), 'g:i:s A'))
}

var runner = new Ext.util.TaskRunner();

runner.start({
runConsoleWrite,
interval: 1000});


You will see something like this in the chrome F12 tools console


No comments:

Post a Comment

Comments will appear once they have been approved by the moderator