Last active
July 14, 2017 08:30
-
-
Save bjoerntx/c4c6744ecb848729c14f29bf25c8ff47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TXTextControl.addEventListener("clipboardDataTransferProgress", function (e) { | |
progressClipboardTransfer(e); | |
}); | |
function progressClipboardTransfer(e) { | |
if (e.id == curClipboardTransferId) | |
{ | |
var y = document.getElementById("toast-progress"); | |
y.style.width = e.progress + "%"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment