Manual:Utilidades:Tareas Restrasadas (Legacy)

This version of our Learning Center is unmaintained.
This article may be out-of-date or contain incorrect information.
Please visit the new Sencha Learning Center for up-to-date material.

Go to the new Sencha Learning Center

From Sencha - Learn

Jump to: navigation, search
Summary: Funcion
Author: Comunidad de Ext
Published: 17 de Marzo de 2009
Ext Version: 1.1
Languages: en.png English fr.png French kr.png Korean

es.png Español

Interrupcion Retrasada

Si quiere ejecutar una function atraves de una interrupcion,se puede utilizar la funcionalidad de 'Ext delay'. (Referencia al API).

Ejemplo:

var fn = function(arg1, arg2){
  Ext.Msg.alert('Mensaje retrasada', 'Me ' + arg1 + ' Ext con ' + arg2);
}
 
fn.defer(10000, this, ['cae bien ','php']);

Despues de diez segundos la function ‘fn’ ejecutara y un dialogo se presentara con el texto "Me cae bien Ext con php".

This page was last modified on 17 March 2009, at 16:48. This page has been accessed 3,083 times.