LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


beforeCollapse(e)

Occurs before an item becomes collapsed.

Event Data

ParamTypeDetails
eObjectAn event object which contains the collapsing item

Remarks

This event can be handled by creating a function in your application controller $scope and applying this function as value to an attribute in TreeView directive:

  • before-collapse attribute, or
  • events attribute

The events attribute has a higher priority than the before-collapse attribute. If both attributes are set, the value from events attribute is used.

For cancellation, simply return a false value in this event handler.

Version Information

Supported in: v1.0.

Articles & Samples

See Also