EventsMuteContext Class

Deprecated  Use ControlledTree instead. Will be removed in iModel.js 3.0.

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: 11 June, 2024