Documentation

mapEvent

routes events from one object to another

void mapEvent(object map);

Parameters

mapobjectthe hash of event-object relations

See also

Example

//as result, button's event will fire also for the list component
button.mapEvent({
    onItemClick:list // where list - some other component
});

Back to top