Yahoo! UI Library

history  3.0.0

Yahoo! UI Library > history > History.Module

Class History.Module

This class represents a browser history module.


History.Module ( id , initialState )
id <String> the module identifier
initialState <String> the module's initial state


currentState - final String

The module's current state

id - final String

The module identifier

initialState - final String

The module's initial state

upcomingState - private final String

The module's upcoming state. There can be a slight delay between the time a state is changed, and the time a state change is detected. This property allows us to not fire the module state changed event multiple times, making client code simpler.

Copyright © 2009 Yahoo! Inc. All rights reserved.