@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
32 lines (31 loc) • 1.53 kB
TypeScript
import { DecimalPipe } from '@angular/common';
import { AfterViewInit, OnDestroy } from '@angular/core';
import { TapValueEditorContainerComponent } from '@iotize/ionic';
import { AbstractVariable } from '@iotize/tap/data';
import * as i0 from "@angular/core";
/**
* @deprecated not usefull anymore with new dashboard editor
*/
export declare class TapVariableImageAndValueComponent implements AfterViewInit, OnDestroy {
private decimalPipe;
ctx?: TapValueEditorContainerComponent;
private _destroyed;
_variable?: AbstractVariable<number>;
valueToDisplay: any;
image?: string;
imageSize: string;
valuePosition: 'top' | 'bottom' | 'left' | 'right';
unit: string;
imageColor?: string;
labelColor?: string;
editable: boolean;
set variable(variable: AbstractVariable<number>);
valueStyle: any;
digitsInfo?: string;
constructor(decimalPipe: DecimalPipe);
ngOnDestroy(): void;
ngAfterViewInit(): void;
onEditMode(): Promise<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableImageAndValueComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableImageAndValueComponent, "tap-variable-image-and-value", never, { "image": "image"; "imageSize": "imageSize"; "valuePosition": "valuePosition"; "unit": "unit"; "imageColor": "imageColor"; "labelColor": "labelColor"; "editable": "editable"; "variable": "variable"; "valueStyle": "valueStyle"; "digitsInfo": "digitsInfo"; }, {}, never, never, false, never>;
}