App Studio

Version 4.2
How To
Documentation
    Learn More

      $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);