Class: History

Marbles. History

new History()

You should never need to explicitly instantiate this class
Source:
See:

Methods

(static) History.start(options)

Starts listenening to pushState events and calls route handlers when appropriate
Parameters:
Name Type Description
options Object
Source:
Example
Marbles.History.start({
	root: "/", // if your app is mounted anywhere other than the domain root, enter the path prefix here
	pushState: true, // set to `false` in the unlikely event you wish to disable pushState (falls back to manipulating window.location)
	dispatcher: Marbles.Dispatcher // The Dispatcher all events are passed to
})