EPISODE · Jun 14, 2021 · 15 MIN
How to create Custom Elements with Web Components
from GoRails Screencasts · host Chris Oliver
Web Components are a great way to encapsulate Javascript logic around an element in your HTML. We'll explore how to create Custom Elements and see how Hotwire uses them for Turbo Stream actions.
What this episode covers
Web Components are a great way to encapsulate Javascript logic around an element in your HTML. We'll explore how to create Custom Elements and see how Hotwire uses them for Turbo Stream actions.
NOW PLAYING
How to create Custom Elements with Web Components
No transcript for this episode yet
Similar Episodes
Jun 7, 2026 ·13m
May 3, 2026 ·17m
Apr 5, 2026 ·3m
Apr 1, 2026 ·6m
Mar 1, 2026 ·19m
Feb 1, 2026 ·23m