Page MenuHomeGitPull.it

class JX.Quicksand
Javelin Documentation ()

Sink into a hopeless, cold mire of limitless depth from which there is no escape.

Captures navigation events (like clicking links and using the back button) and expresses them in Javascript instead, emulating complex native browser behaviors in a language and context ill-suited to the task.

By doing this, you abandon all hope and retreat to a world devoid of light or goodness. However, it allows you to have persistent UI elements which are not disrupted by navigation. A tempting trade, surely?

To cast your soul into the darkness, use:

JX.Quicksand
  .setFrame(node)
  .start();

Tasks

Builtin Events

  • invoke(type, more) โ€” Invoke a class event, notifying all listeners. You must declare the events your class invokes when you install it; see @{function:JX.install} for documentation. Any arguments you provide will be passed to listener callbacks.
  • static listen(type, callback) โ€” Static listen interface for listening to events produced by any instance of this class. See @{method:listen} for documentation.

Other Methods

Methods

invoke(type, more)
Inherited

JX.Base

Invoke a class event, notifying all listeners. You must declare the events your class invokes when you install it; see JX.install() for documentation. Any arguments you provide will be passed to listener callbacks.

Parameters
stringtypeEvent type, must be declared when class is installed.
...moreZero or more arguments.
Return
JX.EventEvent object which was dispatched.

static listen(type, callback)
Inherited

JX.Base

Listen for events emitted by this object instance. You can also use the static flavor of this method to listen to events emitted by any instance of this object.

See also listen() in JX.Stratcom.

JX.Base

Static listen interface for listening to events produced by any instance of this class. See listen() for documentation.

Parameters
stringtypeType of event to listen for.
functioncallbackFunction to call when this event occurs.
Return
objectA reference to the installed listener. You can later remove the listener by calling this object's remove() method.

private static _isURIOnBlacklist(uri)

This method is not documented.
Parameters
uri
Defined
lib/Quicksand.js:34
Extends
JX.Base