Members
(static) isConnected :boolean
Is there a connection with a spot sever?
Type:
-
boolean
(static) isLockedDown :boolean
When the app in locked down, facets and datasets cannot be edited
Type:
-
boolean
(static) sessionType :string
Type of spot session. Must be 'client' or 'server'
Type:
-
string
Methods
(static) connectToServer()
Connect to the spot-server using a websocket and setup callbacks
Parameters:
Name | Type | Description |
---|---|---|
Optional. |
address
|
IP address and port number to connect to. fi. 'http://localhost:3000' |
(static) getDatasets() → {Promise}
Request a list of available datasets from the server
Depending on the driver, this can be an asyncrhonous function. It returns a Promise that resolves to the dataset collection
Returns:
- Type:
-
Promise
(static) resetDataview(me)
Reset min, max, and categories for all facets in the dataview
Parameters:
Name | Type | Description |
---|---|---|
me |
Spot
|
Main spot instance |