GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
86 stars 25 forks source link

Infoj: Group expanding on load #1352

Open AlexanderGeere opened 4 days ago

AlexanderGeere commented 4 days ago

Pull Request Template

Description

Allows `groupClassList: "expanded"' to be added to any member of the group and have the group expanded on load.

GitHub Issue

This PR addresses #1327

Type of Change

How have you tested this?

Test in bugs_testing/infoj_order/workspace.json Added groupClassList: "expanded" to the second member of a group and saw that the group was expanded as it should be.

Testing Checklist

Code Quality Checklist

dbauszus-glx commented 7 hours ago

@AlexanderGeere is this condition required?

&& !Array.from(groups[entry.group].classList).includes('expanded')