Contents

Query(animation:)

Fetches all instances of the attached model type, using the specified animation to animate any subsequent changes.

Declaration

@attached(accessor) @attached(peer, names: prefixed(`_`)) macro Query(animation: Animation)

Parameters

  • animation:

    The animation to use when updates to the fetched models trigger user interface changes.

See Also

Basic queries