trigger

fun trigger(trigger: Trigger)

Adds the specified trigger

Parameters

trigger

trigger to add


fun trigger(init: Trigger.() -> Unit): Trigger

Adds a trigger initialized with the specified init block

Return

added trigger

Parameters

init

block to initialize the trigger