EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 150

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 149
CHAPTER 4: User-Interface Tools Event handling 150
UIEvent object functions
initUIEvent()
eventObj.initUIEvent (eventName, bubble, isCancelable, view, detail)
eventName
The event name string.
bubble
When true, the event should be triggered in ancestors of the target object during
the bubbling phase.
isCancelable
When true, the event can be cancelled.
view
The container or control object that dispatched the event.
detail
Details of the event, which vary according to the event type. The value is 1 or 2 for
the
click event, indicating a single or double click.
Modifies an event before it is dispatched to its targets. Takes effect only if
UIEvent.eventPhase is
Event.NOT_DISPATCHING. Ignored at all other phases.
Returns
undefined.
preventDefault()
eventObj.preventDefault ( )
Cancels the default action of this event, if this event is cancelable (that is, cancelable is true). For
example, the default click action of an OK button is to close the containing dialog; this call prevents
that behavior.
Returns
undefined.
stopPropagation()
eventObj.stopPropagation ( )
Stops event propagation (bubbling and capturing) after executing the handler or handlers at the
current target.
Returns
undefined.
Vista de página 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 303 304

Comentários a estes Manuais

Sem comentários