Skip to main content

PaperComponentProps

Supported props for the PaperComponent.

Properties​

data?​

optional data: any

Optional dataset to load.


dataType?​

optional dataType: string

ID of the format that data or the data retrieved from url is expected to be in. Defaults to JSON_DATATYPE.


modelOptions?​

optional modelOptions: ModelOptions

Options for the underlying model.


paperId?​

optional paperId: string

ID of the paper to attach to. This is optional; Visually JS will use the default paper ID if you do not provide this. For apps where there's only one paper there is no need to provide this.


renderOptions?​

optional renderOptions: RenderOptions

Parameters to configure the underlying paper.


url?​

optional url: string

Optional url for a dataset to load.


viewOptions?​

optional viewOptions: ViewOptions

Mapping of model object types to components and behaviour