How to use the @bentley/ui-framework.WidgetState.Open function in @bentley/ui-framework

To help you get started, we’ve selected a few @bentley/ui-framework examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github imodeljs / imodeljs / test-apps / ui-test-app / src / frontend / appui / frontstages / Frontstage4.tsx View on Github external
,
            ]}
          />
        }
        bottomCenter={
          ,
            ]}
          />
        }
        bottomRight={
          ,
              ,
              ,
            ]}
          />
        }
      />
    );
  }
github imodeljs / imodeljs / test-apps / ui-test-app / src / frontend / tools / ToolSpecifications.tsx View on Github external
execute: async () => {
        const activeFrontstageDef = FrontstageManager.activeFrontstageDef;
        if (activeFrontstageDef) {
          const widgetDef = activeFrontstageDef.findWidgetDef("VerticalPropertyGrid");
          if (widgetDef) {
            widgetDef.setWidgetState(WidgetState.Open);
          }
        }
      },
    });
github imodeljs / imodeljs / test-apps / ui-test-app / src / frontend / appui / AppUi.tsx View on Github external
public static command1 = () => {
    const activeFrontstageDef = FrontstageManager.activeFrontstageDef;
    if (activeFrontstageDef) {
      const widgetDef = activeFrontstageDef.findWidgetDef("VerticalPropertyGrid");
      if (widgetDef) {
        widgetDef.setWidgetState(WidgetState.Open);
      }
    }
  }
github imodeljs / imodeljs / test-apps / ui-test-app / src / frontend / appui / frontstages / ViewsFrontstage.tsx View on Github external
stateFunc={(): WidgetState => {
                  const activeContentControl = ContentViewManager.getActiveContentControl();
                  if (activeContentControl && activeContentControl.viewport && (activeContentControl.viewport.view.iModel.selectionSet.size > 0))
                    return WidgetState.Open;
                  return WidgetState.Closed;
                }}
              />,
github imodeljs / imodeljs / test-apps / ui-test-app / src / frontend / appui / frontstages / Frontstage1.tsx View on Github external
*/
        centerRight={
          
        }
        bottomCenter={
          ,
            ]}
          />
        }
        bottomRight={
          ,
              ,
            ]}
          />
        }

        topMostPanel={
          
        }
        topPanel={
          
        }
github imodeljs / imodeljs / test-apps / ui-test-app / src / frontend / appui / frontstages / Frontstage3.tsx View on Github external
,
            ]}
          />
        }
        bottomCenter={
          ,
            ]}
          />
        }
        bottomRight={
          ,
              ,
            ]}
          />
        }
      />
    );
  }