public renderSelection()

in src/baseBehavior.ts [116:128]


    public renderSelection(hasSelection: boolean): void {
        if (hasSelection) {
            this.options.elementsSelection.style("opacity", (category: any) => {
                if (category.selected) {
                    return 1;
                } else {
                    return 0.5;
                }
            });
        } else {
            this.options.elementsSelection.style("opacity", 1);
        }
    }