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

Build "pure" custom elements #162

Open
2 of 8 tasks
jeremydw opened this issue Nov 2, 2021 · 0 comments
Open
2 of 8 tasks

Build "pure" custom elements #162

jeremydw opened this issue Nov 2, 2021 · 0 comments

Comments

@jeremydw
Copy link
Member

jeremydw commented Nov 2, 2021

We are going to build a library of custom elements to facilitate common patterns in our projects.

  • Image: degu-image
  • Video: degu-video
  • Asset (layer of indirection atop image, video): degu-asset
  • Scroll carousel: degu-scroll-carousel
  • YouTube modal: degu-youtube-modal
  • YouTube video (inline YouTube video player): degu-youtube-video
  • Hamburger menu (potential wrapper around details-dialog with focus trap): degu-hamburger-menu
  • Formatted price with localization support: degu-price

See https://github.com/github/details-dialog-element for a fantastic reference for building pure custom elements with no dependencies.

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

No branches or pull requests

1 participant