From c7b02f02ad0a7e2888f2d7d3599719e59bbd1ee2 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Thu, 13 Nov 2025 14:56:02 +0100 Subject: frontend: design prototype --- static/api/index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 static/api/index.js (limited to 'static/api') diff --git a/static/api/index.js b/static/api/index.js new file mode 100644 index 0000000..50b9b26 --- /dev/null +++ b/static/api/index.js @@ -0,0 +1,11 @@ +import * as sfw from 'sfw'; +const { Input } = sfw.element.native; + +export async function upload_images() { + const input = Input.new({ + type: 'file', + multiple: true, + accept: 'image/jpeg', + }) + input.click(); +} -- cgit v1.2.3-70-g09d2