Example #1
0
    def ui(self):
        """
    Description:
    ------------
    Interface to the UI generic event.
    """
        from epyk.core.js.objects import JsEvents

        return JsEvents.UIEvent()
Example #2
0
    def mouse(self):
        """
    Description:
    ------------
    Interface to the standard mouse event.
    """
        from epyk.core.js.objects import JsEvents

        return JsEvents.MouseEvent()
Example #3
0
  def event(self):
    """
    Description:
    ------------
    Interface to the standard event
    """
    from epyk.core.js.objects import JsEvents

    return JsEvents.Event()
Example #4
0
    def key(self):
        """
    Description:
    ------------
    Interface to a standard keyboard event.
    This object is available in any keyup, keydown... events
    """
        from epyk.core.js.objects import JsEvents

        return JsEvents.KeyboardEvent()
Example #5
0
    def touch(self):
        """
    Description:
    ------------
    Interface to a standard touch event.
    This object is available in any event specific to touch screens.
    """
        from epyk.core.js.objects import JsEvents

        return JsEvents.TouchEvent()
Example #6
0
    def mouseEvent(self):
        """
    Description:
    -----------
    Interface to the JavaScript MouseEvents.

    Related Pages:

      https://www.w3schools.com/jsref/obj_mouseevent.asp
    """
        return JsEvents.MouseEvent()