trigger method

void trigger(
  1. String type,
  2. {dynamic data}
)

Trigger an event of given type on all matched elements, with given

  • data if provided.

Implementation

void trigger(String type, {data});