Skip to content

Commit eff73b5

Browse files
1 parent 585fc87 commit eff73b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/webapp/controller/View1.controller.js

+3
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ sap.ui.define(["sap/ui/core/mvc/Controller", "sap/ui/core/mvc/XMLView", "sap/ui/
279279
case 'HISTORY_BACK':
280280
history.back();
281281
break;
282+
case 'CLIPBOARD_COPY':
283+
copyToClipboard( args[1] );
284+
break;
282285
case 'CLIPBOARD_APP_STATE':
283286
function copyToClipboard(textToCopy) {
284287
if (navigator.clipboard && typeof navigator.clipboard.writeText === "function") {

0 commit comments

Comments
 (0)