In the event handler we will extract the different types of images. | En el controlador del evento extraeremos los diferentes tipos de imagen. |
The code for the event handler appears as follows. | El código del controlador de eventos tiene este aspecto. |
For example, in the event handler, you may dynamically set the yii\base\Application::$language property based on some parameters. | Por ejemplo, en el manejador del evento, podrías definir dinámicamente la propiedad yii\base\Application::$language basada en algunos parámetros. |
In the code below the duration will be formatted, and the callback event handler is defined as an anonymous function. | En el código de abajo la duración será formateada y el controlador de eventos de devolución de llamada estará definido como función anónima. |
While you can instruct users of the extension to explicitly attach your event handler in the extension to the beginRequest event, a better way is to do this automatically. | Aunque podemos indicar a los usuarios de la extensión que añadan nuestro gestor de eventos para que capture beginRequest, es mejor hacerlo automáticamente. |
The method takes two parameters, the first a boolean whether to format the result or not, and the second is the callback event handler. | Este método toma dos parámetros, primero un valor lógico que indica si el resultado debe formatearse o no, y en segundo lugar el controlador de eventos de devolución de llamada. |
In StyleVision, all the defined functions are available as options that can be assigned to an event handler property in the Event property group in the Properties sidebar. | En StyleVision todas las funciones definidas en el editor se pueden asignar a una propiedad de controlador de eventos del grupo de propiedades evento (ventana Propiedades). |
This process is contained in the Click event handler of the button. | Este proceso está contenido en el controlador del evento Click del botón. |
In other words, the event handler is invoked when the event occurs. | En otras palabras, el manejador de eventos se invoca cuando se produce el evento. |
Using the method addEventListener() the element is assigned cell an event handler for a click. | Con el método addEventListener() se asigna al elemento cell un manejador de eventos para un click. |
