html2app • JS Bridge
    Preparing search index...

    Type Alias PickedFile

    A file picked or captured on the device.

    The file content does not cross the bridge. url points to the local asset server, so it can be used directly in <img>, <video>, <a> or fetch(). Captured files are removed when the app closes.

    type PickedFile = {
        url: string;
        name: string;
        mimeType: string;
        size: number;
    }
    Index

    Properties

    Properties

    url: string

    Local URL, for example http://localhost:8080/_internal/tmp/1700000000_photo.jpg

    name: string

    Original file name

    mimeType: string

    MIME type, for example image/jpeg

    size: number

    File size in bytes