journey.files
Property
Description
Example
Examples
journey.files.saveFile
journey.files.saveFilefunction saveText() {
var text = "Text to save!";
journey.files.saveFile(text, 'my-file.txt');
}<var name="site_entrance" type="photo" />
<capture-photo label="Site entrance" bind="site_entrance" source="camera" resolution="small" downloadable="true" />
<button show-if="site_entrance" label="Save photo" on-press="$:savePhoto()" validate="false" />journey.files.viewFile
journey.files.viewFilejourney.files.openFileExternally
journey.files.openFileExternallyLast updated