if ("launchQueue" in window) {
window.launchQueue.setConsumer((launchParams) => {
if (launchParams.files) {
const files = launchParams.files;
for (file in files) {
// Do stuff with file handles
}
}
});
}LaunchParams: files property / notebook
LaunchParams: files property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.