Interface: HistoryCommand

history.HistoryCommand

An interface that all command objects must implement.

Source:

Methods

(static) type() → {string}

Gives the type

Source:
Returns:
Type
string

apply() → {void|true}

Applies

Parameters:
Type Description
module:history.HistoryEventHandler
Source:
Fires:
Returns:
Type
void | true

elements() → {Array.<Element>}

Returns the elements

Source:
Returns:
Type
Array.<Element>

getText() → {string}

Gets the text

Source:
Returns:
Type
string

type() → {string}

Gives the type

Source:
Returns:
Type
string

unapply() → {void|true}

Unapplies

Parameters:
Type Description
module:history.HistoryEventHandler
Source:
Fires:
Returns:
Type
void | true