WinJS.Application.local object

The local storage of the application.

Syntax

var objectRef = WinJS.Application.local;

Members

The local object has these types of members:

  • Methods

Methods

The local object has these methods.

Method Description
exists

Determines whether the specified file exists in local storage for the app.

readText

Reads the specified file. If the file doesn't exist, the specified default value is returned.

remove

Deletes a file from the folder.

writeText

Writes the specified text to the specified file.

 

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Application