protected sendSelectionToHost()

in src/interactivityFilterService.ts [228:250]


    protected sendSelectionToHost(): void {
        const filter: IBasicFilter = new BasicFilter(
            this.filterColumnTarget,
            "In",
            <any[]>this.selectedCategories
        ).toJSON();

        if (this.selectedCategories && this.selectedCategories.length) {
            this.hostServices.applyJsonFilter(
                filter,
                this.filterObjectProperty.objectName,
                this.filterObjectProperty.propertyName,
                <any>FilterAction.merge
            );
        } else {
            this.hostServices.applyJsonFilter(
                filter,
                this.filterObjectProperty.objectName,
                this.filterObjectProperty.propertyName,
                <any>FilterAction.remove
            );
        }
    }