Streaming live at 10am (PST)

Clipboarding content on Click Event


#1

Hey there,

I am looking for a possibility to copy e.g. a hex code into the user's clipboard, when interacting with my webflow site. I saw an example in one of webflow's posts:

In this Styleguide template, there is at the top the little message saying: "click a color to add the hex code to your clipboard". I want to build something similar to this.

So again: I want to copy specific content in the user's clipboard, when pressing a button or taking a certain interaction on my webflow site.

Thanks so much,
Louis


#2

Please read this first: https://forum.webflow.com/t/posting-guidelines-for-the-code-help-category/6048?u=samliew