| Summary: Function |
| Author: Ext Community |
| Published: Unkown |
| Ext Version: 1.1 |
Languages: English Chinese French
|
Delayed by timeoutIf you want to run a function by timeout, you can use Ext delay (API reference) ability.
Example:
var fn = function(arg1, arg2){ Ext.Msg.alert('Delayed message', 'I ' + arg1 + ' Ext with ' + arg2); } fn.defer(10000, this, ['like','php']);
After 10 seconds, the function fn will be called and an alert box will popup with the text "I like Ext with php".