@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
35 lines (34 loc) • 1.46 kB
TypeScript
import { OnDestroy } from '@angular/core';
import { AbstractVariable } from '@iotize/tap/data';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class TapVariableLinearGaugeComponent implements OnDestroy {
dataValue: number;
dataPercent: number;
_variable?: AbstractVariable<any>;
private destroyed;
unit?: string;
digitsInfo?: string;
/**
* @deprecated use unit instead
*/
set units(v: string);
min?: number;
max?: number;
color: string;
textColor: string;
reversed: boolean;
set value(v: number | string | undefined);
/**
* @deprecated use [value]="..." instead
*/
set variable(variable: AbstractVariable<number | number[]> | undefined);
/**
* @deprecated use [value]="..." instead
*/
set inputStream(inputs: Observable<any>);
setValue(value: number | string | undefined | null): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableLinearGaugeComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableLinearGaugeComponent, "tap-variable-linear-gauge", never, { "unit": "unit"; "digitsInfo": "digitsInfo"; "units": "units"; "min": "min"; "max": "max"; "color": "color"; "textColor": "textColor"; "reversed": "reversed"; "value": "value"; "variable": "variable"; "inputStream": "inputStream"; }, {}, never, never, false, never>;
}