Тёмный

Build a mobile popover menu with Svelte & OpenProps 

Josh Nussbaum
Подписаться 212
Просмотров 407
50% 1

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

Наука

Опубликовано:

 

31 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@blokche_dev
@blokche_dev 19 дней назад
Really like how Svelte leverage the platform with a minimal impact on the bundle size. Thanks for sharing!
@TomSmallwood
@TomSmallwood 18 дней назад
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 19 дней назад
Helpful, thanks!
@ScottSpencePlease
@ScottSpencePlease 19 дней назад
Super simple explanation Josh! Thanks for the content
@josh_nussbaum
@josh_nussbaum 19 дней назад
Thanks Scott! 🙇 Was just reading your piece about patching, the newsletter is great 🙌
@sinankesk_in
@sinankesk_in 18 дней назад
Great tricks. Thank you Josh.
@josh_nussbaum
@josh_nussbaum 18 дней назад
Thanks Sinan! 🙏
@HaaniJaber
@HaaniJaber 19 дней назад
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 19 дней назад
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()
Далее
Let's Make A Todo App Using Svelte 5 Runes
26:55
Просмотров 22 тыс.
Tragic Moments 😥 #2
00:30
Просмотров 1,8 млн
🍟Best French Fries Homemade #cooking #shorts
00:42
КОРОЧЕ ГОВОРЯ, 100 ДНЕЙ В СССР 2
08:37
Using OpenProps with SvelteKit
11:29
Просмотров 536
5 New AI Tools You Should Try
9:18
Просмотров 2,6 тыс.
Svelte Is Good For Beginners
9:28
Просмотров 70 тыс.
Want to build a good API? Here's 5 Tips for API Design.
10:57
Svelte UI Libraries Have Leveled Up
12:14
Просмотров 51 тыс.
Svelte 5 Is A Triumph
22:04
Просмотров 56 тыс.
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Просмотров 9 млн
Топ-3 суперкрутых ПК из CompShop
1:00
What’s your charging level??
0:14
Просмотров 7 млн