Tuesday, June 30, 2015

ExtJS - What is Ext.defer?


Ext.defer or Ext.function.defer is a function similar to javascript setTimeout function.

Ext.defer(function() {
   alert('Hi')
 },  1000) ;

The function given in the defer will be executed after the number of millisecond specified.


Below are the arguments for Ext.defer
( fn, millis, [scope], [args], [appendArgs]


1 comment:

durga said...



Thanks for sharing, I will bookmark and be back again.

Angularjs 2 Development Company