APIs

Show:

Library for the FlxNavElement web component.

Constructor

flexygo.ui.wc.FlxAreaElement

() FlxAreaElement

Returns:

FlxAreaElement:

Methods

attributeChangedCallback

(
  • attrName.
  • oldVal.
  • newVal.the
)

Fires when the attribute value of the element is changed.

Parameters:

  • attrName. String

    The attribute name

  • oldVal. String

    The old value

  • newVal.the String

    new 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. String

    The node id

  • title. String

    The node title

getBreadcrum

(
  • json.
)
String

Gets current breadcrum

Parameters:

  • json. Object

    Json elements

Returns:

String:

getIcon

(
  • IconClass.
  • IconPath.
)

get Node icon

Parameters:

  • IconClass. String

    The icon class

  • IconPath. String

    The icon path

getNoShow

(
  • json.
  • mode.
)

Sees if node has childnodes an returns the noshow class

Parameters:

  • json. Object

    Json elements

  • mode. String

    check for parent ,child or process mode

goBack

(
  • nodeId.
)

Goas back to original node

Parameters:

  • nodeId. String

    New parent node

goBack

(
  • nodeId.
)

Goas back until node is reached

Parameters:

  • nodeId. String

    New parent node

loadNodes

()

Does post to load Areas Nodes.

loadNodesRet

(
  • ret.
)

loads Nodes with post result.

Parameters:

  • ret. Array

    an array with the nodes

onNodeClick

(
  • parms.
)

Handles click on network graphics

Parameters:

  • parms. Any

    The event param

refresh

()

Refresh de webcomponent.

Properties

connected

Boolean

Set when component is attached to DOM