export interface RenderEventDispatcher
export interface RenderEventDispatcher
exported from angular2/core defined in angular2/src/core/render/api.ts (line 367)
A dispatcher that relays all events that occur in a Render View.
Use Renderer
to register a dispatcher for a particular Render View.
Members
dispatchRenderEvent(elementIndex: number, eventName: string, locals: Map<string, any>) : boolean
dispatchRenderEvent(elementIndex: number, eventName: string, locals: Map<string, any>) : boolean
Called when Event called eventName
was triggered on an Element with an Event Binding for this
Event.
elementIndex
specifies the depth-first index of the Element in the Render View.
locals
is a map for local variable to value mapping that should be used when evaluating the
Event Binding expression.
Returns false
if preventDefault
should be called to stop the default behavior of the Event
in the Rendering Context.