FromTrigger

annotation class FromTrigger

Parameters declared in a class annotated with Event that are used in OnTrigger

For example:

@LayoutSpec
public class ComponentSpec {

 @OnTrigger(YourEvent.class)
  static Object yourEventClick(ComponentContext c,@FromTrigger YourObject obj) {
    return new Object();
  }
}

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String