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

color

color: null | string = null

CSS color override for the tab's header

customTitle

customTitle: string

User-defined title override

hasActivity

hasActivity: boolean = false

Last tab activity state

hasFocus

hasFocus: boolean = false

hostView

hostView: ViewRef

ViewRef to the tab DOM element

parent

parent: null | BaseTabComponent = null

Parent tab (usually a SplitTabComponent)

Protected recoveryStateChangedHint

recoveryStateChangedHint: Subject<void> = ...

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

root

Top-level split container

title

title: string

Current tab title

Optional viewContainerEmbeddedRef

viewContainerEmbeddedRef?: EmbeddedViewRef<any>

Static DIRECTIONS

DIRECTIONS: SplitDirection[] = ...

Accessors

activity$

  • get activity$(): Observable<boolean>

blurred$

  • get blurred$(): Observable<void>

destroyed$

  • get destroyed$(): Observable<void>

focusChanged$

focused$

  • get focused$(): Observable<void>

initialized$

  • get initialized$(): Observable<void>

progress$

  • get progress$(): Observable<null | number>

recoveryStateChangedHint$

  • get recoveryStateChangedHint$(): Observable<void>

splitAdjusted$

  • get splitAdjusted$(): Observable<SplitSpannerInfo>

tabAdded$

tabAdopted$

tabRemoved$

titleChange$

  • get titleChange$(): Observable<string>

Methods

add

addEventListenerUntilDestroyed

  • addEventListenerUntilDestroyed(element: HTMLElement, event: string, handler: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void

addTab

clearActivity

  • clearActivity(): void

destroy

  • destroy(): void

displayActivity

  • displayActivity(): void

emitBlurred

  • emitBlurred(): void

emitFocused

  • emitFocused(): void

focus

focusAnyIn

getAllTabs

getFocusedTab

getMaximizedTab

getParentOf

insertIntoContainer

  • insertIntoContainer(container: ViewContainerRef): EmbeddedViewRef<any>

layout

  • layout(): void

maximize

navigate

navigateLinear

  • navigateLinear(delta: number): void

removeFromContainer

  • removeFromContainer(): void

removeTab

replaceTab

setProgress

  • setProgress(progress: null | number): void

setTitle

  • setTitle(title: string): void

splitTab

subscribeUntilDestroyed

  • subscribeUntilDestroyed<T>(observable: Observable<T>, handler: (v: T) => void): void

Generated using TypeDoc