root |
componyx.bindary.TemplateItem
|
The root item or itself if this is the root of the item tree. |
parent |
componyx.bindary.TemplateItem
|
The parent item. |
children |
Array.<TemplateItem>
|
The child items of the current item. |
id |
String
|
The unique identifier of the item. |
placeHolder |
HTMLElement
|
A place holder element for an item that is not rendered. |
repeatPlaceHolder |
HTMLElement
|
A place holder element for a repeating item. |
trusted |
Boolean
|
A value indicating if the HTML value is trusted. |
includable |
Boolean
|
A value indicating if the item is an includable item. |
includableRoot |
Boolean
|
A value indicating if the item is the root of the includable. |
included |
Boolean
|
A value indicating if an includable is included. |
includeFile |
String
|
The include file data-key or path. |
include |
String
|
The include data-key or identifier. |
isComponent |
Boolean
|
A value indicating if the item is a component. |
loaded |
Boolean
|
A value indicating if the included data or component is loaded. |
element |
HTMLElement
|
The rendered element. |
sourceElement |
HTMLElement
|
The original collected element. This element can differ from the rendered element when it is included or within a repeater. |
display |
String
|
The original display style of the element. |
elementInfo |
elementInfo
|
Information about the element. |
context |
Object
|
The object context. |
repeatValue |
Object
|
The repeat value context. |
repeatItemIdValue |
Object
|
The value of the repeat item id. |
itemId |
Object
|
The item is rendered if the item id matches the value of the repeat item id. |
index |
Number
|
The current index within the array repeater. |
key |
String
|
The current key within the object repeater. |
value |
Object
|
The data value. |
isRendered |
Boolean
|
A value indicating if the element is rendered. |
dataChange |
Array.<Object>
|
Holds the active data change rules for the item. |
indexKey |
Array.<String>
|
Array.<Number>
|
The index key holds the dynamic (data-key) or static index pointer. |
repeatElements |
Array.<HTMLElement>
|
The collection of elements within the repeater. |
dataType |
String
|
The type of the data value. |
inputBind |
String
|
The data bind value. |
liveBind |
Boolean
|
Number
|
A value indicating if live binding is enabled (true) or disabled (false) or the debounce delay in milliseconds. |
updateId |
String
|
The update identifier. |
updateIdFromParent |
Boolean
|
A value indicating that the updateId was copied from the parent item in the update loop. |
isHTML |
Boolean
|
A value indicating if the data value is HTML. |
if |
String
|
The value of the if attribute, representing either a method name or an expression string used to evaluate the conditional statement. |
ifExpr |
function
|
The expression function that evaluates the conditional statement. |
elseIf |
String
|
The value of the elseif attribute, representing either a method name or an expression string used to evaluate the conditional statement. |
elseIfExpr |
function
|
The expression function that evaluates the conditional statement. |
else |
Boolean
|
A flag indicating that this element should be rendered when none of the preceding conditional (if/elseif) statements evaluate to true. |
conditionMet |
Boolean
|
A value indicating the state of the conditional statement. |
dataFormatter |
String
|
The function invoked when the value is set on the data object. |
viewFormatter |
String
|
The function invoked when the value is set on the element. |
preRender |
String
|
The function invoked before the element is rendered. |
postRender |
String
|
The function invoked after the element is rendered. |
load |
String
|
The function invoked when an includable is included. |
filter |
String
|
The function invoked to filter a collection. |
events |
Object
|
The element events. |
repeatDataKey |
Array.<string>
|
Hierarchical data key as an array of parts (e.g. ['myObj', 'value']). |
repeatItemIdDataKey |
Array.<string>
|
Hierarchical data key array for the repeat item ID. |
contextDataKey |
Array.<string>
|
Hierarchical data key array for the context value. |
hasValue |
Array.<string>
|
Hierarchical data key array for value existence checks. |
dataKey |
Array.<string>
|
Hierarchical data key array for the main data value. |
expressionValue |
string
|
The raw expression value if the data-key contains expressions denoted with brackets {{}} |
expression |
function
|
The expression function if the data-key contains expressions. |
attributes |
Object
|
The data bound attributes. |
attributeExpressions |
Array.<function()>
|
Expression functions for the attributes if the attribute values contain expressions. |
repeatDataKeyPath |
string
|
Full path for the repeat value. (e.g. 'appData.container.myArr'). |
contextDataKeyPath |
string
|
Path for the context value. |
hasValueDataKeyPath |
string
|
Full path for value existence check. |
dataKeyPath |
string
|
Full path for the data value (value/html/bind) if its a single data-key. |
dataKeyPaths |
string
|
Full paths for all value data keys when using a value expression. |
attributeDataKeyPaths |
Array.<string>
|
Full paths for all attribute data keys. |
conditionalDataKeyPaths |
Array.<string>
|
Full paths for all the data keys used in conditional expressions. |
treeState |
Array.<Object>
|
Internal. Snapshot of this item's context and its ancestors', used to restore tree state later. |
treeStatePass |
Number
|
Internal. Tracks which render pass last captured treeState, to avoid stale ancestor data. |