layout-service/src/layout-service/layout.service.ts
Provides control and state of the global layout.
import { LayoutService } from '@talenra/components/layout-service';
Properties |
|
Methods |
|
| Public setAppearance | ||||||
setAppearance(scheme: AppearanceScheme)
|
||||||
|
Applies the given appearance scheme.
Parameters :
Returns :
void
|
| Public setTheme | ||||||
setTheme(theme: Theme)
|
||||||
|
Applies the given color theme.
Parameters :
Returns :
void
|
| Public Readonly appearanceScheme$ |
Type : unknown
|
Default value : new BehaviorSubject<AppearanceScheme>(AppearanceScheme.Light)
|
|
Provides the current appearance scheme. see AppearanceScheme |
| Public Readonly theme$ |
Type : unknown
|
Default value : new BehaviorSubject<Theme>(Theme.Petrol)
|
|
Provides the current color theme. see Theme |