This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Ralph DeMars Gnonlonfoun
Posted Jul 05 - Read on Facebook

Hey here !
Do anyone knows how I can get an text selected event ?
I want to execute some script when the user select a text

3 Comments

Koen Bok

I made you a quick example: http://share.framerjs.com/sv6xnsu4gnl8/

Niels van Hoorn

If you want to listen to every selection change of the user, without using mouseup, you could add a selectionchange event listener to window.document, like this: http://share.framerjs.com/eb5qs0bti2ro/

Ralph DeMars Gnonlonfoun

Great! thanks. I have understand it !
But is there any way to have the selection coordinate ?
I am trying in fact to show a button after the user select a text, just behind this text

Read the entire post on Facebook