MetaAttributeBreadCrumbView.LocalStorageKey

Syntax

LocalStorageKey: string;

Description

The LocalStorageKey property sets the key used to store settings of initial displaying in the local storage.

Example

To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:

	//Get a component used to display and control workbook attributes
	var breadcrumb = workbookBox.getDataView().getBreadcrumb();
	//Get the key, under which initial display settings are stored in localStorage
	var lsKey = breadcrumb.getLocalStorageKey();
	alert("Key: " + lsKey);

After executing the example the browser console displays a message that contains the key used to store settings of initial displaying in the local storage.

See also:

MetaAttributeBreadCrumbView