How to use the @bentley/ui-ninezone.HandleMode.Visible 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 / ui / framework / src / ui-framework / widgets / StackedWidget.tsx View on Github external
private getTabHandleMode(widgetId: WidgetZoneIndex) {
    if (this.props.isUnmergeDrag && this.props.isDragged && widgetId === this.props.zoneId)
      return HandleMode.Visible;

    if (this.props.widgets.length > 1)
      return HandleMode.Hovered;

    return HandleMode.Timedout;
  }
github imodeljs / imodeljs / ui / framework / src / ui-framework / widgets / WidgetStack.tsx View on Github external
private getTabHandleMode() {
    if (this.props.draggedWidget && this.props.draggedWidget.id === this.props.widgetId && this.props.draggedWidget.isUnmerge)
      return HandleMode.Visible;

    if (this.props.isStacked)
      return HandleMode.Hovered;

    return HandleMode.Timedout;
  }