0

ユーザーがファイルをアップロードできるようにするだけcomputerなので、ポップアップは必要ありません。

ユーザーがボタンをクリックfilepicker windowしたときに直接接続することは可能ですか。ファイルピッカーを開く代わりに、OSファイルウィンドウを開くように指示しますか?<input type="file">choose file

4

1 に答える 1

1

まさにこの目的のために filepicker.store() API を使用できます - https://developers.inkfilepicker.com/docs/web/#store

var input = document.getElementById("store-input");
filepicker.store(input, function(InkBlob){
        console.log("Store successful:", JSON.stringify(InkBlob));
    }, function(FPError) {
        console.log(FPError.toString());
    }, function(progress) {
        console.log("Loading: "+progress+"%");
    }
);
于 2013-09-30T06:10:27.163 に答える