Skip to main content

SurfaceComponentRef

Reference to a SurfaceComponent. Offers methods to get the underlying surface and VisuallyJs instance.

Properties​

getModel()​

getModel: () => BrowserUIReactModel

Gets the underlying model instance, on which you can manage the model.

Returns​

BrowserUIReactModel


getSurface()​

getSurface: () => Surface

Gets the Surface canvas component.

Returns​

Surface