src code

class Spah

Description

For cleanliness, Spah is wrapped entirely in the window.Spah object on the client side, and exports.spah on the server side.

See Default client behaviour to learn what actions Spah performs on initialisation. For more information on Spah, see the main Readme (also available on Github)

Classes

  • Spah.DOM

  • Spah.SpahQL

    TODO

  • Spah.State

    Spah.State is the wrapping class for the state defined by your application. It supports querying and assertions against the state and is also responsible for deep-merging state updates from the server and dispatching modification events to your responders.

  • Spah.StateClient

    The StateClient is the main piece of running code at the browser end of a Spah application.

  • Spah.StateServer

Class properties