Product Selector

Fusion 5.12
    Fusion 5.12

    $util

    Description

    Twigkit factory with utility functions for Development.

    Methods

    • hasChildren(transclude)

      Method to check if the element has children.

      Parameters
      ParamTypeDetails
      transcludeObject

      The transclude function from the elements post or pre linking function.

      Returns
      boolean

      True if element has children.

      Example

      $util.hasChildren(transclude);