PageStateManagerDecorator

page/state/PageStateManagerDecorator~ PageStateManagerDecorator

Decorator for page state manager, which add logic for limiting Extension competence.

Constructor

new PageStateManagerDecorator(pageStateManager, allowedStateKeys)

Source:
Initializes the page state manager decorator.
Parameters:
Name Type Description
pageStateManager PageStateManager
allowedStateKeys Array.<string>

Members

_allowedStateKeys :Array.<string>

Source:
Array of access keys for state.
Type:
  • Array.<string>

_pageStateManager :PageStateManager

Source:
The current page state manager.
Type:
  • PageStateManager

Methods

clear()

Source:

getAllStates()

Source:

getState()

Source:

setState()

Source: