fun trigger(trigger: Trigger): Unit
Adds the specified trigger
trigger - trigger to add
trigger
fun trigger(init: Trigger.() -> Unit): Trigger
Adds a trigger initialized with the specified init block
init - block to initialize the trigger
init
Return added trigger