public/v1/api

Visallo Top-Level API

Plugins should require this module for access to Visallo components and helpers.

Source:
Example
require(['public/v1/api'], function(visalloApi) {
    // ...
})

Namespaces

connected

Members

(inner) connectReact

Source:
See:

Higher-order component for React that automcatically loads connect.

(inner) registry

Source:
See:

Extension Registry component allows plugins to configure extension points.

Methods

(inner) connect() → {Promise.<(module:public/v1/api.connected)>}

Source:

Connect to secondary dependencies

Returns:

The connected objects

Type
Promise.<(module:public/v1/api.connected)>

(inner) defineComponent()

Source:
Deprecated:
  • React is now the preferred component model.

Reference to Flight defineComponent

Example
// Creating react component
define(['react'], function(React) {
 return React.createClass({
     render() {
         return <h1>Hello</h1>
     }
 })
})