FloatingViewportContentProps Interface



Name Description
onContextMenu(e: MouseEvent<Element, MouseEvent>): boolean Optional callback used to construct context menu when user right-clicks on canvas/viewport  


Name Type Description
contentId string viewport/content control uniqueId  
initialViewState ViewStateProp The initial view state used to create the viewport, or a function that returns it (will refresh when the function changes)  
viewportRef undefined | Ref<ScreenViewport> Function to get a reference to the ScreenViewport  

Defined in

Last Updated: 09 March, 2023