File

branding/dark-theme/dark-theme-tab.factory.ts

Description

Factory for creating the dark theme tab. Extends the BrandingTabFactory to provide the dark theme tab.

Extends

BrandingTabFactory

Index

Methods

Constructor

constructor(options: OptionsService)
Parameters :
Name Type Optional
options OptionsService No

Methods

Protected getTabsForVersion
getTabsForVersion(name: string)

Overrides the getTabsForVersion method of BrandingTabFactory to provide the dark theme tab.

Parameters :
Name Type Optional
name string No
Returns : Tab[]
Protected shouldShowTab$
shouldShowTab$()

Overrides the shouldShowTab$ method of BrandingTabFactory to show the dark theme tab only if the dark theme is available.

Returns : Observable<boolean>
get
get(activatedRoute?: ActivatedRoute)
Parameters :
Name Type Optional
activatedRoute ActivatedRoute Yes
Protected getPathForBranding
getPathForBranding(brandingName: string, subPath: T)
Type parameters :
  • T
Parameters :
Name Type Optional
brandingName string No
subPath T No
Returns : `branding-editor/${string}/edit/${T}`

results matching ""

    No results matching ""