ednl-liftstatus-web-components
Version:
The EDNL LiftStatus web components
45 lines (44 loc) • 1.03 kB
TypeScript
import "dayjs/locale/nl";
export declare class LsStatusItem {
/**
* The ID of the sensor item that is to be displayed.
*/
readonly sensorId: number;
private store;
/**
* The unique key that is used to identify store data.
*/
readonly idKey: string;
/**
* Specifies the IDs and labels of the sensors that are to be displayed.
*/
private allowedIds;
private sensorsArray;
/**
* Handles a change of the sensor ID
*/
watchPropHandler(): void;
/**
* The data received from the subscription is placed in this state.
*/
sensorData: string;
/**
* The timestamp of the last update
*/
timestamp: string;
/**
* Keeps track of the setInterval ID.
*/
private timer;
/**
* The label for the data that is to be displayed. Retrieved from the central store.
*/
private dataLabel;
private updateData;
private setTimer;
private clearTimer;
connectedCallback(): void;
componentWillLoad(): Promise<void>;
render(): any;
disconnectedCallback(): void;
}