EventsMuteContext Class

A context which keeps BeInspireTree events muted until it gets disposed.

Implements

Methods

Name Description
constructor(_events: BeInspireTreeEvent[], _mute: (events: BeInspireTreeEvent[]) => void, _unmute: (events: BeInspireTreeEvent[]) => boolean, _emit?: (events: BeInspireTreeEvent[]) => void, _listen?: (events: BeInspireTreeEvent[], listener: (...values: any[]) => void) => () => void, allowedEventTriggersBeforeMute: number = 0): EventsMuteContext    
dispose(): void    

Defined in

Last Updated: 10 September, 2019