Ejemplo n.º 1
0
  def js(self) -> JsVis.VisTimeline:
    """
    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.VisTimeline
    """
    if self._js is None:
      self._js = JsVis.VisTimeline(selector=self.chartId, component=self, page=self.page)
    return self._js
Ejemplo n.º 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.VisTimeline
    """
        if self._js is None:
            self._js = JsVis.VisTimeline(selector=self.chartId, src=self)
        return self._js