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

First stab at oncolorchange for <color-swatch> #37

Merged
merged 3 commits into from
May 15, 2024
Merged

Conversation

LeaVerou
Copy link
Member

@LeaVerou LeaVerou commented May 15, 2024

Related to #36

Not working. Need to debug why.

Copy link

netlify bot commented May 15, 2024

Deploy Preview for color-elements ready!

Name Link
🔨 Latest commit 77975c4
🔍 Latest deploy log https://app.netlify.com/sites/color-elements/deploys/6644ea8b467cd40008e015f1
😎 Deploy Preview https://deploy-preview-37--color-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@LeaVerou LeaVerou changed the title First stab at oncolorchange First stab at oncolorchange for <color-swatch> May 15, 2024
When we define events, inside `defineEvents()`, we define initialization steps that should be queued (by adding to the `initQueue` static array) and executed after `<color-swatch>` is connected.
@LeaVerou
Copy link
Member Author

Thanks! Does it work with this change?

@LeaVerou LeaVerou marked this pull request as ready for review May 15, 2024 17:06
@DmitrySharabin
Copy link
Collaborator

Thanks! Does it work with this change?

It does. 🥳

@LeaVerou LeaVerou merged commit e947162 into main May 15, 2024
4 checks passed
@LeaVerou LeaVerou deleted the color-swatch-events branch May 15, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants