Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseComponent

Base component class to extend that initialises common properties, and calls onReady when initialising is finished.

Hierarchy

  • BaseComponent

Index

Constructors

constructor

  • Parameters

    Returns BaseComponent

Properties

Protected _4D

Private _account

_account: string

activeUser

activeUser: User

loading

loading: boolean = false

sub

sub: Subscription

Methods

ngOnDestroy

  • ngOnDestroy(): void
  • Unsubscribes from subscription when component destroyed.

    Returns void

ngOnInit

  • ngOnInit(): void
  • Initialises some properties that will be commonly used among your components.

    Returns void

onReady

  • onReady(): void
  • This is called when initialisation has finished. Your components should do their initialisation here.

    Returns void

Generated using TypeDoc