Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an attributeChangedCallback handler for the map-feature class attribute #934

Open
prushforth opened this issue Mar 13, 2024 · 0 comments
Labels
accessibility basic styling Elements should only have basic and native-like styling (W3C TAG Components Guideline) enhancement

Comments

@prushforth
Copy link
Member

prushforth commented Mar 13, 2024

Changes to the <map-feature class=""> (a global attribute) should be propagated to the rendered svg <g> element that represents the feature in the shadow root. It looks like the attribute value is correctly copied to the rendered <g> element during the connectedCallback process, tbd.

This will allow dynamic style changes to the rendered feature.

@prushforth prushforth added enhancement accessibility basic styling Elements should only have basic and native-like styling (W3C TAG Components Guideline) labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility basic styling Elements should only have basic and native-like styling (W3C TAG Components Guideline) enhancement
Projects
None yet
Development

No branches or pull requests

1 participant