laravelEcomm/public/Dashboard/js/clipboard.js
2024-07-12 12:51:02 +05:45

10 lines
225 B
JavaScript

(function($) {
'use strict';
var clipboard = new ClipboardJS('.btn-clipboard');
clipboard.on('success', function(e) {
console.log(e);
});
clipboard.on('error', function(e) {
console.log(e);
});
})(jQuery);