projects/wvr-elements/src/lib/shared/wvr-themeable.component.ts
Properties |
Methods |
applyThemeOverride |
applyThemeOverride(customProperty: string, value: string)
|
Returns :
void
|
eRef |
eRef:
|
Type : ElementRef<HTMLElement>
|
style |
style:
|
Type : SafeStyle
|
themeOverrides |
themeOverrides:
|
Type : literal type
|
variantTypes |
variantTypes:
|
Type : Array<variantType>
|
import { ElementRef } from '@angular/core';
import { SafeStyle } from '@angular/platform-browser';
export type variantType = 'alert' | 'badge' | 'border' | 'button' | 'list-group-item' | 'table' | 'default';
export interface WvrThemeableComponent {
style: SafeStyle;
themeOverrides: { [key: string]: string };
readonly variantTypes: Array<variantType>;
readonly eRef: ElementRef<HTMLElement>;
applyThemeOverride(customProperty: string, value: string): void;
}