Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SplitTabComponent

Split tab is a tab that contains other tabs and allows further splitting them You'll mainly encounter it inside AppService.tabs

Hierarchy

Implements

  • AfterViewInit
  • OnDestroy

Index

Properties

activity: BehaviorSubject<boolean> = ...
customTitle: string

User-defined title override

disableDynamicTitle: boolean = false

Disables display of dynamic window/tab title provided by the shell

focusChanged: Subject<BaseTabComponent> = ...
hasActivity: boolean = false

Last tab activity state

hasFocus: boolean = false
hostView: ViewRef

ViewRef to the tab DOM element

initialized: Subject<void> = ...
maximizedTab: null | BaseTabComponent = null
parent: null | BaseTabComponent = null

Parent tab (usually a SplitTabComponent)

progress: BehaviorSubject<null | number> = ...
recoveryStateChangedHint: Subject<void> = ...

Ping this if your recovery state has been changed and you want your tab state to be saved sooner

Top-level split container

splitAdjusted: Subject<SplitSpannerInfo> = ...
tabAdded: Subject<BaseTabComponent> = ...
tabAdopted: Subject<BaseTabComponent> = ...
tabRemoved: Subject<BaseTabComponent> = ...
title: string

Current tab title

viewContainerEmbeddedRef?: EmbeddedViewRef<any>
viewRefs: Map<BaseTabComponent, EmbeddedViewRef<any>> = ...
visibility: BehaviorSubject<boolean> = ...
DIRECTIONS: SplitDirection[] = ...

Accessors

  • get activity$(): Observable<boolean>
  • get blurred$(): Observable<void>
  • get color(): null | string
  • set color(color: null | string): void
  • get destroyed$(): Observable<void>
  • get focused$(): Observable<void>
  • get icon(): null | string
  • set icon(icon: null | string): void
  • get initialized$(): Observable<void>
  • get progress$(): Observable<null | number>
  • get recoveryStateChangedHint$(): Observable<void>
  • get splitAdjusted$(): Observable<SplitSpannerInfo>
  • get titleChange$(): Observable<string>
  • get visibility$(): Observable<boolean>

Methods

  • addEventListenerUntilDestroyed(element: HTMLElement, event: string, handler: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
  • clearActivity(): void
  • destroy(): void
  • displayActivity(): void
  • emitBlurred(): void
  • emitFocused(): void
  • emitVisibility(visibility: boolean): void
  • equalize(): void
  • insertIntoContainer(container: ViewContainerRef): EmbeddedViewRef<any>
  • layout(): void
  • layoutInternal(root: SplitContainer, x: number, y: number, w: number, h: number): void
  • navigateLinear(delta: number): void
  • navigateSpecific(target: number): void
  • observeUntilChildDetached<T>(tab: BaseTabComponent, event: Observable<T>): Observable<T>
  • removeFromContainer(): void
  • resizePane(direction: ResizeDirection): void
  • setProgress(progress: null | number): void
  • setTitle(title: string): void
  • subscribeUntilDestroyed<T>(observable: Observable<T>, handler: ((v: T) => void)): void
  • updateTitle(): void

Generated using TypeDoc