Files
infineon_plc/Packages/Beckhoff.TwinCAT.HMI.Controls.14.4.1/runtimes/native1.12-tchmi/Helpers/TcHmiSplitView/TcHmiSplitView.d.ts
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

74 lines
2.4 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";
// ***************************************************************************
export declare class SplitView extends HTMLElement {
static resizeBarTolerance: number;
private __localStorage;
constructor(options?: {
initSizeOfFirstContainer?: number;
alignment?: SplitView.Alignment;
});
protected __alignment: SplitView.Alignment;
protected __resizeInProgress: boolean;
protected __startPointerPos: number;
protected __startSize: number;
protected __children: [HTMLElement, HTMLElement] | undefined;
protected __eventDestroyers: TcHmi.DestroyFunction[];
protected __pointerMoveEventDestroyer: TcHmi.DestroyFunction | null;
protected __pointerUpEventDestroyer: TcHmi.DestroyFunction | null;
protected __doubleClickEventDestroyer: TcHmi.DestroyFunction | null;
connectedCallback(): void;
setInitialFlexProperties(): void;
disconnectedCallback(): void;
/**
* Changes the cursor when the pointer is near the resize divider.
*/
private __onPointerMoveOverContainer;
/**
* Resets the cursor when the pointer leaves the container.
*/
private __onPointerLeaveContainer;
/**
* Starts the resizing process when the pointer is near the divider.
*/
private __onPointerDownContainer;
/**
* Adjusts the size of the panes based on the pointer movement.
*/
private __onPointerMove;
private __setViewSize;
/**
* Ends the resizing process.
*/
private __onPointerUp;
/**
* Resets the split view to initial properties.
*/
private __onDoubleClick;
/**
* Removes all event listeners.
*/
private __removeEvents;
/**
* Indicates whether a resizing process is in progress.
*/
isResizeInProgress(): boolean;
}
export declare namespace SplitView {
enum Alignment {
horizontal = 0,
vertical = 1
}
}
import _SplitView = SplitView;
declare global {
namespace TcHmi.Controls.Helpers {
let SplitView: typeof _SplitView;
type SplitView = _SplitView;
namespace SplitView {
type Alignment = _SplitView.Alignment;
}
}
}