- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for handleResult (0.08 sec)
-
src/main/webapp/js/clipboard.min.js
lem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.tr...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat May 28 04:16:16 UTC 2022 - 10.5K bytes - Viewed (0)