sudodoki / copy-to-clipboard

Copy stuff into clipboard from your browser using JS
http://sudodoki.github.io/copy-to-clipboard/example/
MIT License
1.28k stars 132 forks source link

Disable prompt on error #104

Open skilful522 opened 3 years ago

skilful522 commented 3 years ago

I think it is good feature to disable prompt. For displaying your own component instead prompt for example. I suppose is good idea to add some bool property to options object for example isDisablePromtError. Can I do PR for this ?

darmawan01 commented 2 years ago

can you share your version to disable this prompt ?

skilful522 commented 2 years ago

Hello, I don't have this version. I wanted to add this functionallity and this is why I asked about it here. I'm sure you can do it by your own. As I remember the main idea was to add isDisablePromtError in object options and turn off functionallity of display promt.

Tttaras1 commented 5 months ago

Do you happen to have any news on it? We are struggling without this feature.

xiaoxiangmoe commented 2 months ago

I create a PR for this, but @sudodoki doesn't seem to have time to merge this PR.