Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseTabComponent

Abstract base class for custom tab components

Hierarchy

Index

Constructors

constructor

Properties

color

color: string | null = null

CSS color override for the tab's header

customTitle

customTitle: string

User-defined title override

hasActivity

hasActivity: boolean = false

Last tab activity state

Protected hasFocus

hasFocus: boolean = false

hostView

hostView: ViewRef

ViewRef to the tab DOM element

Protected recoveryStateChangedHint

recoveryStateChangedHint: Subject<void> = new Subject<void>()

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

title

title: string

Current tab title

Accessors

activity$

  • get activity$(): Observable<boolean>

blurred$

  • get blurred$(): Observable<void>

destroyed$

  • get destroyed$(): Observable<void>

focused$

  • get focused$(): Observable<void>

progress$

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

recoveryStateChangedHint$

  • get recoveryStateChangedHint$(): Observable<void>

titleChange$

  • get titleChange$(): Observable<string>

Methods

canClose

  • canClose(): Promise<boolean>

clearActivity

  • clearActivity(): void

destroy

  • destroy(skipDestroyedEvent?: boolean): void

displayActivity

  • displayActivity(): void

emitBlurred

  • emitBlurred(): void

emitFocused

  • emitFocused(): void

getCurrentProcess

getRecoveryToken

  • getRecoveryToken(): Promise<any>

setProgress

  • setProgress(progress: number | null): void

setTitle

  • setTitle(title: string): void

Generated using TypeDoc