SurfaceComponentProps
Supported props for the SurfaceComponent.
Properties
data?
optionaldata:any
Optional dataset to load.
dataType?
optionaldataType:string
ID of the format that data or the data retrieved from url is expected to be in. Defaults to JSON_DATATYPE.
modelOptions?
optionalmodelOptions:ModelOptions
Options for the underlying model.
renderOptions?
optionalrenderOptions:RenderOptions
Parameters to configure the underlying surface.
surfaceId?
optionalsurfaceId:string
ID of the surface to attach to. This is optional; Visually JS will use the default surface ID if you do not provide this. For apps where there's only one surface there is no need to provide this.
url?
optionalurl:string
Optional url for a dataset to load.
viewOptions?
optionalviewOptions:ViewOptions
Mapping of model object types to components and behaviour