FILE - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki
File : DataSource
The file datasource is used to capture information from both the <CAMERA/> and <FILEPICKER/> widgets. It is never used directly.
Typically, access to a files properties are done through the containing widgets data property using {data.property} binding syntax, where property is property's name as shown below.
Image detectors such as <BARCODE/>, and <OCR/> nested inside of the widget can be used to perform machine learning tasks like barcode detection and text recognition.
| Name | Values | Default | Description |
|---|---|---|---|
| file | string | The base64 encoded file data url | |
| type | string | The file's mime type | |
| size | int | The size in bytes of the file | |
| name | string | The file's full name including the file extension | |
| extension | string | The file's extension |