File

projects/wvr-elements/src/lib/shared/wvr-themeable.component.ts

Index

Properties
Methods

Methods

applyThemeOverride
applyThemeOverride(customProperty: string, value: string)
Parameters :
Name Type Optional
customProperty string No
value string No
Returns : void

Properties

eRef
eRef: ElementRef<HTMLElement>
Type : ElementRef<HTMLElement>
style
style: SafeStyle
Type : SafeStyle
themeOverrides
themeOverrides: literal type
Type : literal type
variantTypes
variantTypes: Array<variantType>
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;

}

results matching ""

    No results matching ""