ViewportProps Interface

Properties for ViewportComponent component.



Name Type Description
imodel IModelConnection IModel to display  
viewDefinitionId undefined | Id64String Id of a default view definition to load as a starting point  
viewState undefined | ViewState ViewState to use as a starting point  
viewportRef undefined | (v: ScreenViewport) => void Function to get a reference to the ScreenViewport  

Inherited properties

Name Type Inherited from Description
className undefined | string ClassNameProps Custom CSS class name
style undefined | React.CSSProperties CommonProps Custom CSS style properties

Defined in

Last Updated: 20 September, 2019