55 lines
2.2 KiB
TypeScript
55 lines
2.2 KiB
TypeScript
// Compatibility file for non-module typescript compiles without adjustments.
|
|
// Use the following line for modern code (needs adjustments to tsconfig.json#configOptions/paths)
|
|
// import { TcHmiControl } from "Beckhoff.TwinCAT.HMI.Framework/index.esm.js";
|
|
// ***************************************************************************
|
|
|
|
declare class TcHmiThermometer extends TcHmi.Controls.Beckhoff.TcHmiLinearGauge {
|
|
#private;
|
|
/** Internal reference to the attribute 'data-tchmi-filler-color' */
|
|
protected __bulbColor: TcHmi.SolidColor | null | undefined;
|
|
protected __resizeObserver: ResizeObserver;
|
|
private __resizeObserverActive;
|
|
constructor(element: JQuery, pcElement: JQuery, attrs: TcHmi.Controls.ControlAttributeList);
|
|
__previnit(): void;
|
|
/**
|
|
* If raised, all attributes have been set to it's default or dom values.
|
|
* This function is only to be used by the System. Other function calls are not intended.
|
|
*/
|
|
__init(): void;
|
|
/**
|
|
* Is called by the system after the control instance gets part of the current DOM.
|
|
* This function is only to be used by the System. Other function calls are not intended.
|
|
*/
|
|
__attach(): void;
|
|
/**
|
|
* Is called by the system after the control instance is no longer part of the current DOM.
|
|
* This function is only to be used by the System. Other function calls are not intended.
|
|
*/
|
|
__detach(): void;
|
|
/**
|
|
* Destroy the current control instance.
|
|
* Will be called automatically if system destroys control!
|
|
*/
|
|
destroy(): void;
|
|
protected __onResized(): void;
|
|
/**
|
|
* Resizes the bulb.
|
|
* Will be called automatically by the resize observer.
|
|
*/
|
|
protected __resizeBulb(): void;
|
|
protected __processOrientation(): void;
|
|
/**
|
|
* Processes the current value of attribute progressForegroundColor.
|
|
*/
|
|
protected __processProgressForegroundColor(): void;
|
|
}
|
|
export { TcHmiThermometer as Control };
|
|
declare const _TcHmiThermometer: typeof TcHmiThermometer;
|
|
type tTcHmiThermometer = TcHmiThermometer;
|
|
declare global {
|
|
namespace TcHmi.Controls.Beckhoff {
|
|
const TcHmiThermometer: typeof _TcHmiThermometer;
|
|
type TcHmiThermometer = tTcHmiThermometer;
|
|
}
|
|
}
|