# Function onEach

- onEach<T>(collection, eventType, callback): IHandle

- Listens for an event on each item in a collection.

  #### Type Parameters

  - T extends Evented

  #### Parameters

  - collection: Collection<T>

    The collection of items to watch.

  - eventType: string

    The event type to listen for.

  - callback: ChangeEventCallback<T>

    The callback to invoke.

  #### Returns IHandle