add javascript binding and file picker for web

This commit is contained in:
2019-10-08 23:16:04 +02:00
parent f2a73a905d
commit a669d1313b
7 changed files with 228 additions and 135 deletions

View File

@@ -96,7 +96,7 @@
<text text="Browse" grow="1" margin="0 0 0 5"/>
<text text="Ctrl-Shift-O" color=".4" justify="flex-end" margin="0 10 0 10"/>
</button-custom>
<button-custom id="file-open" os="osx,win" height="40" align="center" color=".2" pad="0 0 0 10" dir="row">
<button-custom id="file-open" os="osx,win,web" height="40" align="center" color=".2" pad="0 0 0 10" dir="row">
<icon icon="image" width="20"/>
<text text="Open Path" grow="1" margin="0 0 0 5"/>
<text text="Ctrl-O" color=".4" justify="flex-end" margin="0 10 0 10"/>