BrowserUIReactModel
Extension of the VisuallyJsModel for use in React. This is the class you use to manipulate and query the contents of the data model. You will rarely need to create one of these manually, since the UI components will do that for you (unless you have an app in which you wish to share one model among several renderers), but if you wish to perform programmatic operations on the data model this is the class you will interact with.
Extends
BrowserUIModel
Methods
render()
render(
container,options?):Surface
Configures the given element as a Surface, registering it so that it reflects any changes to the underlying data. If there is any data in the model at the time of this call it is rendered; any data subsequently loaded is automatically rendered. You can supply layout arguments to this method (layout type + layout specific parameters), as well as rules for paint styles etc.
Parameters
container
Element
The Element to render into
options?
SurfaceOptions
Render options
Returns
Surface
Overrides
BrowserUIModel.render