Home Reference Source
public class | source

History

Extends:

AbstractService → History

HistoryManager helps to keep track of the navigation.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Keep track of the status in historic order.

Method Summary

Public Methods
public

add(url: String, transitionName: String, context: String, data: Object): Object

Add a new set of url and namespace.

public

Return information about the current status.

public

Return information about the previous status.

Inherited Summary

From class AbstractService
public
public
public

checkDependencies(dependencies: *[])

public

getService(serviceName: *): *

public

hasService(serviceName: *): *

public

init()

Public Constructors

public constructor() source

Override:

AbstractService#constructor

Public Members

public history: Array source

Keep track of the status in historic order.

Public Methods

public add(url: String, transitionName: String, context: String, data: Object): Object source

Add a new set of url and namespace.

Params:

NameTypeAttributeDescription
url String
transitionName String
context String

(ajax, history)

data Object

(optional data)

Return:

Object

public currentStatus(): Object source

Return information about the current status.

Return:

Object

public prevStatus(): Object source

Return information about the previous status.

Return:

Object