Build a mobile popover menu with Svelte & OpenProps

  Рет қаралды 421

Josh Nussbaum

Josh Nussbaum

Күн бұрын

In this video, I'll discuss how to use the new Popover API and use Svelte & OpenProps to build a animated mobile menu.
Source Code: github.com/joshnuss/open-prop...
Links:
- Popover API: developer.mozilla.org/en-US/d...
- OpenProps: open-props.style

Пікірлер: 9
@blokche_dev
@blokche_dev 24 күн бұрын
Really like how Svelte leverage the platform with a minimal impact on the bundle size. Thanks for sharing!
@TomSmallwood
@TomSmallwood 22 күн бұрын
Built these plenty of times but so nice to see how someone else builds it, picked up a few things. Enjoyed the video Josh, thank you!!!!
@adamshand
@adamshand 24 күн бұрын
Helpful, thanks!
@ScottSpencePlease
@ScottSpencePlease 24 күн бұрын
Super simple explanation Josh! Thanks for the content
@josh_nussbaum
@josh_nussbaum 23 күн бұрын
Thanks Scott! 🙇 Was just reading your piece about patching, the newsletter is great 🙌
@sinankesk_in
@sinankesk_in 22 күн бұрын
Great tricks. Thank you Josh.
@josh_nussbaum
@josh_nussbaum 22 күн бұрын
Thanks Sinan! 🙏
@HaaniJaber
@HaaniJaber 23 күн бұрын
What's the best way to close the popover when clicking on a ? Looking for good a11y as well as the menu to close once a link is clicked.
@josh_nussbaum
@josh_nussbaum 23 күн бұрын
A few ways to do that in an SPA Handle on:click on links (without doing a preventDefault) and call popover.hidePopover() Another way, with SvelteKit, is to handle beforeNavigate and call popover.hidePopover()
Rust's Alien Data Types 👽 Box, Rc, Arc
11:54
Code to the Moon
Рет қаралды 132 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis - Tech
Рет қаралды 8 М.
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 63 МЛН
Pokey pokey 🤣🥰❤️ #demariki
00:26
Demariki
Рет қаралды 9 МЛН
Can you beat this impossible game?
00:13
LOL
Рет қаралды 49 МЛН
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 3,8 МЛН
Want to build a good API? Here's 5 Tips for API Design.
10:57
CodeOpinion
Рет қаралды 194 М.
AI SDK 3.1 First Impressions
24:12
Ben Davis - Tech
Рет қаралды 3,9 М.
Using OpenProps with SvelteKit
11:29
Josh Nussbaum
Рет қаралды 550
Логирование: оставь print позади
38:01
Python Russian
Рет қаралды 17 М.
Let's Make A Todo App Using Svelte 5 Runes
26:55
Joy of Code
Рет қаралды 22 М.
Svelte Is Good For Beginners
9:28
ThePrimeTime
Рет қаралды 70 М.
Laravel's secret weapon: macros (watch me code)
23:46
Aaron Francis
Рет қаралды 17 М.
Svelte UI Libraries Have Leveled Up
12:14
Huntabyte
Рет қаралды 52 М.
What is an API (in 5 minutes)
4:56
Aaron Jack
Рет қаралды 555 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 7 МЛН