Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

feat($rootScope): Implement stopPropatagion for $broadcast events #15877

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat($rootScope): Implement stopPropatagion for $broadcast events #15877

wants to merge 1 commit into from

Commits on Apr 1, 2017

  1. feat($rootScope): Implement stopPropatagion for $broadcast events

    $scope.$broadcast dispatches an event to all child scopes by traversing the scope tree in a
    depth-first manner. This change allows any scope to prevent it's children from receiving that
    event by calling stopPropagation on the event object. Other listeners on the scope which called
    stopPropagation will continue to receive the event, as will siblings of that scope and any
    children of those siblings.
    StrangelyTyped committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    51ca67f View commit details
    Browse the repository at this point in the history