Exemple #1
0
  def js(self) -> JsVis.VisNetwork:
    """
    Description:
    ------------
    Return all the Javascript functions defined in the framework.
    This is an entry point to the full Javascript ecosystem.

    Usage::

    :return: A Javascript object.

    :rtype: JsVis.VisNetwork
    """
    if self._js is None:
      self._js = JsVis.VisNetwork(page=self.page, selector=self.chartId, set_var=False, component=self)
    return self._js
Exemple #2
0
    def js(self):
        """
    Description:
    ------------
    Javascript base function

    Return all the Javascript functions defined in the framework.
    THis is an entry point to the full Javascript ecosystem.

    :return: A Javascript object

    :rtype: JsVis.VisNetwork
    """
        if self._js is None:
            self._js = JsVis.VisNetwork(self._report,
                                        selector=self.chartId,
                                        setVar=False)
        return self._js