Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StatusBarService

whatitdoes

tracks the status of the StatusBarComponent and notifies all components with the StatusBarAwareDirective that a change has occurred.

Hierarchy

  • StatusBarService

Index

Constructors

constructor

Properties

active

active: boolean = false

True when the status bar is in use.

animate

animate: boolean = false

True if the StatusBarComponent is animating. This is true for one second after active is set to false because it will be animating up and out of view.

Private router

router: Router

used to track the current route.

status

status: ReplaySubject<CurrentStatus> = new ReplaySubject()

An Observable used to push changes related to the status of the StatusBarComponent.

Private transformActive

transformActive: number

True if a transform style is currently applied to a StatusBarAwareDirective's host component.

Methods

onInit

  • onInit(): void

setActive

  • setActive(newValue: boolean): void

setBarHeight

  • setBarHeight(newHeight: any): void

updateStatus

  • updateStatus(): void

Object literals

currentStatus

currentStatus: object

Data related to what is happening with the StatusBarComponent.

height

height: number = 0

route

route: null = null

Generated using TypeDoc