Skip to content

zahadneokurkycz/copy-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copy api

Iframed button

  1. Make a classic iframe:
<iframe src="file.html">
Sorry! Your browser does not support iframe tag!
</iframe>
  1. Make the right url adress:
  • we start with
https://zahadneokurkycz.github.io/copy-api/
  • Add ?theme= to the url and choose one from options (light or dark)

  • Add &text= and text that you want to be copied to the url

  • And finnaly add &outline= and choose one from options: true (if you want button to be in outline style) or false if you want classic style.

  • The final address should look like this:

https://zahadneokurkycz.github.io/copy-api/?theme=dark&text=Text-to-copy&outline=true
  1. Replace file.html in the src attribute with your url adress

  2. The final code should look like this:

<iframe src="https://zahadneokurkycz.github.io/copy-api/?theme=dark&text=Text-to-copy&outline=true">
Sorry! Your browser does not support iframe tag!
</iframe>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published