Class: CommonFormMethods

CommonFormMethods

An abstract class containing some suited functionality widely used in other spedific DT classes.

Constructor

(abstract) new CommonFormMethods()

Create CommonFormMethods.
Source:

Members

currentSubItem

Get QueryDataBlock data for current subitem - that is in case there are other items present, or get the whole QueryDataBlock.
Source:

dom

Get the dom value.
Source:

dom

Set the dom value.
Source:

htmlId

Get the id name of this instance based on index, if present.
Source:

index

Set the index value.
Source:

index

Get index.
Source:

name

Get the name of this instance based on id and index, if present.
Source:

position

Set the position value.
Source:

position

Get position.
Source:

standsAlone

Find whether this items stands alone or is in the list with other items - as the assign type is.
Source:

Methods

updatePosition() → {boolean}

Update position of this instance based on the dom set.
Source:
Returns:
- Return true if dom is set and obtaining position was possible or false if dom was not set.
Type
boolean