How to use the @bentley/ui-ninezone.Direction.Left function in @bentley/ui-ninezone

To help you get started, we’ve selected a few @bentley/ui-ninezone 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 / NestedFrontstage1.tsx View on Github external
class FrontstageNavigationWidget extends React.Component {

  private _horizontalToolbar =
    
          
          
        
      }
    />;

  private _verticalToolbar =
    
          
          
        
      }
    />;

  public render() {
    return (
      
    );
github imodeljs / imodeljs / ui / framework / src / ui-framework / widgets / NavigationWidget.tsx View on Github external
constructor(props: NavigationWidgetProps) {
    super(props);

    this.widgetType = WidgetType.Navigation;
    this.verticalDirection = (props.verticalDirection !== undefined) ? props.verticalDirection : Direction.Left;
    this.horizontalPanelAlignment = ToolbarPanelAlignment.End;
    this._navigationAidId = (props.navigationAidId !== undefined) ? props.navigationAidId : "";

    const activeStageName = FrontstageManager.activeFrontstageDef ? FrontstageManager.activeFrontstageDef.id : "";
    this.widgetBaseName = `[${activeStageName}]NavigationWidget`;
  }