Class: Vector

Vector(origin)

new Vector(origin)

An "Initialization" Vector.
Parameters:
Name Type Description
origin Object Input state (will map to `@data`.)
Source:

Methods

_serialize(input) → {String}

_serialize is a placeholder, should be discussed.
Parameters:
Name Type Description
input String What to serialize. Defaults to `this.state`.
Source:
Returns:
- resulting string [JSON-encoded version of the local `@data` value.]
Type
String

toString(input) → {String}

Render the output to a String.
Parameters:
Name Type Description
input Mixed Arbitrary input.
Source:
Returns:
Type
String