IModelViewportControlOptions Interface

IModelViewportControl options. These options are set in the applicationData property of the ContentProps.

Properties

Name Type Description
alwaysUseSuppliedViewState undefined | boolean Optional property to always use the supplied viewState property instead of using viewport.view when set  
bgColor undefined | string Optional background color which may be used if viewState and iModelConnection are undefined  
deferNodeInitialization undefined | boolean Optional property to defer reactNode initialization until first reactNode property is needed.  
featureOptions undefined | { T } Map of options that can be used to enable/disable features within the view  
iModelConnection IModelConnection | () => IModelConnection IModelConnection of data in Viewport  
supplyViewOverlay undefined | (_viewport: ScreenViewport) => ReactNode    
viewState undefined | ViewStateProp ViewState or a function to return a ViewState  

Defined in

Last Updated: 05 April, 2024