Created
September 26, 2019 15:43
-
-
Save tobymarsden/524be9bbe7b98e79a381211c5bc21ef4 to your computer and use it in GitHub Desktop.
afterRefresh
This file contains hidden or 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
<script> | |
window.UploadKit = window.UploadKit || {} | |
window.UploadKit.callbacks = { | |
afterRefresh: function(data) { | |
// data is an object like: | |
// { | |
// el: <html element of the upload field container div>, | |
// uploader: <json object representing the upload field>, | |
// files: <json array representing the uploaded files> | |
// } | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment