Skip to content
Documentation/MovePresenceDirective

Search documentation

Type to search the documentation.

Reference

MovePresenceDirective

Structural directive that keeps its view mounted until every registered leave animation inside it has finished.

Overview

Structural directive that keeps its view mounted until every registered leave animation inside it has finished.

Stable API — covered by semantic-versioning guarantees.

  • Kind: Directive
  • Stability: stable

Selector

[movePresence]

Inputs

Input Type Default Required Description
movePresence unknown false Transform booleanAttribute; reads as boolean | "".

Public methods

register

register(child: MovePresenceChild): void
Parameter Type Optional Description
child MovePresenceChild

unregister

unregister(child: MovePresenceChild): void
Parameter Type Optional Description
child MovePresenceChild