@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
30 lines (29 loc) • 1.46 kB
TypeScript
import { AfterViewInit, OnDestroy } from '@angular/core';
import { TapValueEditorContainerComponent } from '@iotize/ionic';
import { EditableValueDataStreamInterface } from '@iotize/tap/data';
import { ActionItem } from '../monitoring-actions/monitoring-actions.component';
import * as i0 from "@angular/core";
export interface TapVariableButton {
label: string;
value: any;
icon?: string;
disabled?: boolean;
}
export declare class TapVariableButtonsComponent implements AfterViewInit, OnDestroy {
ctx: TapValueEditorContainerComponent;
private destroyed;
checkedButtonIndex?: number;
variable?: EditableValueDataStreamInterface<number, any>;
editable: boolean;
color: string;
segment: boolean;
set buttons(buttons: TapVariableButton[] | undefined);
set value(newValue: number);
actions: ActionItem[];
constructor();
ngAfterViewInit(): void;
ngOnDestroy(): void;
private _setActiveButton;
static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableButtonsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableButtonsComponent, "tap-variable-buttons", never, { "variable": { "alias": "variable"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "color": { "alias": "color"; "required": false; }; "segment": { "alias": "segment"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, false, never>;
}