flexygo.ui.wc.FlxAreaElement Class
Library for the FlxNavElement web component.
Constructor
flexygo.ui.wc.FlxAreaElement
()
FlxAreaElement
Returns:
Item Index
Methods
Properties
Methods
attributeChangedCallback
-
attrName.
-
oldVal.
-
newVal.the
Fires when the attribute value of the element is changed.
Parameters:
-
attrName.
StringThe attribute name
-
oldVal.
StringThe old value
-
newVal.the
Stringnew value
connectedCallback
()
Fires when element is attached to DOM
diveIn
-
nodeId.
-
title.
Replace nodes with new parent id childs. Does not work with autogenerated nodes
Parameters:
-
nodeId.
StringThe node id
-
title.
StringThe node title
getBreadcrum
-
json.
Gets current breadcrum
Parameters:
-
json.
ObjectJson elements
Returns:
getIcon
-
IconClass.
-
IconPath.
get Node icon
Parameters:
-
IconClass.
StringThe icon class
-
IconPath.
StringThe icon path
getNoShow
-
json.
-
mode.
Sees if node has childnodes an returns the noshow class
Parameters:
-
json.
ObjectJson elements
-
mode.
Stringcheck for parent ,child or process mode
goBack
-
nodeId.
Goas back to original node
Parameters:
-
nodeId.
StringNew parent node
goBack
-
nodeId.
Goas back until node is reached
Parameters:
-
nodeId.
StringNew parent node
init
()
Init the webcomponent.
loadNodes
()
Does post to load Areas Nodes.
loadNodesRet
-
ret.
loads Nodes with post result.
Parameters:
-
ret.
Arrayan array with the nodes
onNodeClick
-
parms.
Handles click on network graphics
Parameters:
-
parms.
AnyThe event param
refresh
()
Refresh de webcomponent.
Properties
connected
Boolean
Set when component is attached to DOM