IHeaderItems
[ Interface ]
export interface IHeaderItems {
control: TcHmi.Controls.System.baseTcHmiControl| undefined;
id: string | undefined;
displayed: boolean;
itemType: string;
priority: string;
itemAlign: 'Left' | 'Right';
prefWidth: number;
prefWidthUnit: DimensionUnit;
prefHeight: number;
prefHeightUnit: DimensionUnit;
minWidht: number;
minWidhtUnit: DimensionUnit;
classList: string[];
accessRight: AccessControl[];
timeDisplayLayout?: 'Time' | 'Date' | 'TimeDateSingleLine' | 'TimeDateMultiLine' | 'DateTimeSingleLine' | 'DateTimeMultiLine' [];
filter?: Filer[];
targetRegion?: string;
targetControl?: string;
text?: string;
image?: string;
altText?: string;
textPosition?: 'Left' | 'Right';
textElement?: HTMLElement;
stateList?: TcHmi.Controls.Beckhoff.TcHmiStateImage.IStateStructure[];
stateVar?: any;
localizationMapping?: TcHmi.Controls.Beckhoff.TcHmiLocalizationSelect.ListItem[];
adsRuntime?: string;
serverInterval?: number;
serverDomain?: string;
stateImages?: TcHmi.Controls.Beckhoff.TcHmiAdsState.IStateImages;
iconWidth?: number;
iconWidthUnit?: DimensionUnit;
allowLogout?: boolean;
allowSwitchUser?: boolean;
eventDestroyFunction?: DestroyFunction;
targetRegionSymbol?: Symbol<TcHmi.Controls.System.TcHmiRegion>;
}Properties
|
Name |
Type |
Description |
|---|---|---|
|
control |
Control which is created based on the "ItemType" attribute. | |
|
id |
Id of the header element. | |
|
displayed |
Display state of the header element. | |
|
itemType |
Type of the header element. | |
|
priority |
Priority of the header element. | |
|
itemAlign |
'Left' | 'Right' |
Alignment of the header element. |
|
prefWidth |
Preferred width of the header element. | |
|
prefWidthUnit |
Unit of the preferred width. | |
|
prefHeight |
Preferred height of the header element. | |
|
prefHeightUnit |
Unit of the preferred height. | |
|
minWidth |
Minimum width of the header element. | |
|
minWidthUnit |
Unit of the minimum width. | |
|
classList |
string[] |
List of classes of the header element |
|
accessRight |
List of rights of the header element. | |
|
timeDisplayLayout |
'Time' | 'Date' | 'TimeDateSingleLine' | 'TimeDateMultiLine' | 'DateTimeSingleLine' | 'DateTimeMultiLine' |
Formatting a clock element. |
|
filter |
Filter of the EventLine control. | |
|
targetRegion |
Target Region control. | |
|
targetContent |
Target Content page. | |
|
text |
Displayed text of the "Text" element. | |
|
image |
Displayed image of the "Image" element. | |
|
altText |
Alternative text of the "Image" element. | |
|
textPosition |
'Left' | 'Right' |
Position of the text of the "Text" element. |
|
textElement |
HTML element of the "Text" element. | |
|
stateList |
State list of the "StateImage" element. | |
|
stateVar |
State of the "StateImage" element. | |
|
localizationMapping |
List of localization descriptions. | |
|
adsRuntime |
Runtime of the "AdsState" element. | |
|
serverInterval |
Interval of a subscription. | |
|
serverDomain |
Domain of a subscription. | |
|
stateImages |
List of Ads State images. | |
|
iconWidth |
Icon width. | |
|
iconWidthUnit |
Unit of the icon width. | |
|
allowLogout |
Allowed logout for a "UserManagement" element. | |
|
allowSwitchUser |
Allowed switch for a "UserManagement" element. | |
|
eventDestroyFunction |
DestroyFunction for event handling. | |
|
targetRegionSymbol |
Symbol<TcHmi.Controls.System.TcHmiRegion> |
Symbol of the target region. |
![]() | Available from version 1.12.750 |
