Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
centerRight={
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
]}
/>
}
/>
);
}
}
,
]}
/>
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
]}
/>
}
/>
);
}
}
}
bottomRight={
{
const activeContentControl = ContentViewManager.getActiveContentControl();
if (activeContentControl && activeContentControl.viewport && (activeContentControl.viewport.view.iModel.selectionSet.size > 0))
return WidgetState.Open;
return WidgetState.Closed;
}}
/>,
,
]}
/>
}
leftPanel={
}
defaultState={StagePanelState.Minimized}
size={280}
minSize={300}
maxSize={800}
widgets={this._leftPanel.widgets}
execute: async () => {
const activeFrontstageDef = FrontstageManager.activeFrontstageDef;
if (activeFrontstageDef) {
const widgetDef = activeFrontstageDef.findWidgetDef("VerticalPropertyGrid");
if (widgetDef) {
widgetDef.setWidgetState(WidgetState.Hidden);
}
}
},
});
widgets={[
,
]}
/>
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
]}
/>
}
/>
);
}
centerRight={
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
]}
/>
}
topMostPanel={
}
topPanel={
}
leftPanel={
,
,
]}
/>
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
,
]}
/>
}
/>
);
}
public static command2 = () => {
const activeFrontstageDef = FrontstageManager.activeFrontstageDef;
if (activeFrontstageDef) {
const widgetDef = activeFrontstageDef.findWidgetDef("VerticalPropertyGrid");
if (widgetDef) {
widgetDef.setWidgetState(WidgetState.Hidden);
}
}
}