# Yahoo! UI Library

### history 3.0.0b1

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

## Class History.Module

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