Annotation Interface Listen


@Retention(RUNTIME) @Target(METHOD) public @interface Listen
Annotation for specifying Event handling in SelectorComposer.
Since:
6.0.0
Author:
simonpai
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The instruction string for adding EventListeners.
  • Element Details

    • value

      String value
      The instruction string for adding EventListeners. The string should contain a list of [event name] = [selector] pairs, separated by semicolon. For example:
      
       @Listen("onClick = button#submitBtn; onOK = textbox#passwordBox")