The storage API allows you to read from and write to files in the application directory.

var Storage = require("FuseJS/Storage");

Check out the individual functions for documentation on how to use them.

Location

Namespace
Fuse.Storage
Package
Fuse.Storage 2.9.1
Show Uno properties and methods

Interface of StorageModule

read(filename) js

Asynchronously reads a file and returns a promise of its contents.

Inherited from NativeModule

Inherited from Module

GetFile : FileSource uno

Returns the file source that will be watched by the Context for changes in Fuse preview. Override in subclasses and return correct file source to support live updates in Fuse preview.

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces