Пример #1
0
    def dom(self):
        """
    Javascript Functions

    Return all the Javascript functions defined for an HTML Component.
    Those functions will use plain javascript by default.

    :return: A Javascript Dom object

    :rtype: JsHtmlJqueryUI.JsHtmlSparkline
    """
        if self._dom is None:
            self._dom = JsHtmlJqueryUI.JsHtmlSparkline(self,
                                                       report=self._report)
        return self._dom
Пример #2
0
  def dom(self) -> JsHtmlJqueryUI.JsHtmlSparkline:
    """
    Description:
    -----------
    Return all the Javascript functions defined for an HTML Component.
    Those functions will use plain javascript by default.

    Usage::

    :return: A Javascript Dom object

    :rtype: JsHtmlJqueryUI.JsHtmlSparkline
    """
    if self._dom is None:
      self._dom = JsHtmlJqueryUI.JsHtmlSparkline(component=self, page=self.page)
    return self._dom