UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

73 lines (72 loc) 1.91 kB
import { EventEmitter } from '../../stencil-public-runtime'; import { Color, Size } from '../../interface'; import { DataIn } from './weather-interface'; export declare class Weather { el: HTMLLarWeatherElement; /** * Component main icon */ icon?: string; /** * The color to use from your application's color palette. * Detrouble options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. */ color?: Color; /** * The color to use from your application's color palette for Components modal window. */ colorModal?: Color; /** * The color to use from your application's color palette for inputs */ colorInputs?: Color; /** * The color to use from your application's color palette for indication icon */ colorIconSmall?: Color; /** * Hide node titles */ hideTitles?: boolean; /** * Component superscript title */ supTitle?: string; /** * Component subtitle */ subTitle?: string; /** * Is logging for this component enabled (lar-log subcomponent loaded) */ log: boolean; /** * Component main title */ mainTitle: string; /** * Node size */ nodeSize?: Size; /** * @see {@link ../readme.md} chapter "Components input and output" for further information. */ output: EventEmitter; /** * @see {@link ../readme.md} chapter "Sub-Components requests and responses" for further information. */ request: EventEmitter; dataIn: DataIn; loading: boolean; private node; componentDidLoad(): void; /** * Larva error input */ error(data: any): Promise<void>; /** * Input Larva event message (see abow) */ input(data: DataIn): Promise<void>; render(): any[]; }