- Source:
Classes
Namespaces
Members
(static) ICONS :Help4.control.ICONS
Type:
- Source:
Methods
(static) correctIcon(iconId) → {string}
resolves an icon id towards the ICONS collection
Parameters:
Name | Type | Description |
---|---|---|
iconId |
string |
- Source:
Returns:
- Type
- string
(static) createControl(object, control, params) → {Help4.control2.Control}
Parameters:
Name | Type | Description |
---|---|---|
object |
function | |
control |
Help4.control2.Control | Help4.control2.DeriveClassParams | |
params |
Help4.control2.Control.Params |
- Source:
Returns:
(static) deriveClassParams(control, params) → {Object}
Parameters:
Name | Type | Description |
---|---|---|
control |
Help4.control2.Control | Help4.control2.DeriveClassParams | |
params |
Object |
- Source:
Returns:
- Type
- Object
(static) getClass(name) → (nullable) {function}
resolves a classname, such as "Help4.control2.Control"
and delivers to corresponding object
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the to be resolved name |
- Source:
Returns:
- Type
- function
Type Definitions
AreaXYWH
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
x |
number | left |
y |
number | top |
w |
number | width |
h |
number | height |
- Source:
ConnectionPoints
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
l |
Help4.control2.PositionXY |
<optional> |
left point |
r |
Help4.control2.PositionXY |
<optional> |
right point |
t |
Help4.control2.PositionXY |
<optional> |
top point |
b |
Help4.control2.PositionXY |
<optional> |
bottom point |
m |
Help4.control2.PositionXY |
<optional> |
middle point |
c |
Help4.control2.PositionXY |
<optional> |
center point |
- Source:
DeriveClassParams
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
dom |
HTMLElement | parent DOM element |
document |
HTMLDocument | parent Document |
rtl |
boolean | RTL mode enabled |
mobile |
boolean | mobile mode enabled |
language |
string | language of system; for translation |
contentLanguage |
string | language of content; for translation |
- Source:
DragDropParams
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
object |
HTMLElement | the to be moved element | |
area |
HTMLElement |
<optional> |
the area that controls the drag & drop event |
remoteMode |
boolean |
<optional> |
|
min |
Help4.control2.PositionXY |
<optional> |
min coordinates for drag |
max |
Help4.control2.PositionXY |
<optional> |
max coordinates for drag |
- Source:
PositionLeftTop
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
left |
number | left |
top |
number | top |
- Source:
PositionXY
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
x |
number | left |
y |
number | top |
- Source:
SizeWH
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
w |
number | width |
h |
number | height |
- Source:
SizeWidthHeight
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
width |
number | width |
height |
number | height |
- Source: