Skip to content

Allow to set the animation duration for click on legend label #73

@Indigo744

Description

@Indigo744

As for now, the duration value when clicking on a legend label is hard coded to 300ms.

elems[id].mapElem.animate({"opacity":legendOptions.hideElemsOnClick.opacity}, 300, "linear", ...

This value should be customizable, just like with AttrsHover.animDuration.

I suggest adding an option in hideElemsOnClick.animDuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions