# Yahoo! UI Library

### history-deprecated 3.3.0

Yahoo! UI Library > history-deprecated > History.Module
Search:
Filters Show Private Show Protected Show Deprecated

## Class History.Module

Deprecated: Please use the new "history" module instead.
This class represents a browser history module.

### Constructor

History.Module `( id , initialState )`

Parameters:
  `id <String>` the module identifier
  `initialState <String>` the module's initial state

### Properties

#### 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 © 2011 Yahoo! Inc. All rights reserved.