Angular6 one-click copy function how to achieve, ask the boss.

there is a button in the input group. Click the button to copy the contents of the input box. The contents of the input box are read-only.

Aug.08,2021

ready-made Angular adaptation version, here

if you want to package it yourself, you can use clipboard.js directly

Menu