Get Selected Text in React

Описание к видео Get Selected Text in React

Use the Selection API to get selected text in React and show a social media sharing tooltip.

We'll walk through how to use the Selection API to listen for selected text, how to build out a dynamically placed tooltip based on selected text location using Tailwind, and how to share the selected text on click to Twitter.

🧰 Resources

Tutorial: https://spacejelly.dev/posts/how-to-s...
Code: https://github.com/colbyfayock/my-hig...
Demo: https://my-highlight-share.vercel.app/


📺 YouTube: https://youtube.com/colbyfayock?sub_c...
🐦 Twitter:   / colbyfayock  
📹 Twitch:   / colbyfayock  
✉️ Newsletter: https://www.colbyfayock.com/newsletter/

🎥 What I Use: https://www.colbyfayock.com/uses

#colbyfayock #reactjs #tailwindcss #webdevelopment

Комментарии

Информация по комментариям в разработке