Skip to content

ConnectedAnimationService

Register shared-element keys and play list→detail morphs.

import QWinUI3.Extras · src/extras/QWinUI3/Extras/ConnectedAnimationService.qml

Category: Media & platform · Library: v3.56 · singleton

← Component index

Python: same QML type after qwinui3.setup_engine() — Python API.

Extends QtObject.

Example

ConnectedAnimationService.register("mail.hero", rowThumb)
ConnectedAnimationService.register("mail.hero", detailHero)
ConnectedAnimationService.play("mail.hero", function () { stack.push(detail) })

// --- API ---
// register(key, item), unregister(key, item?), play(key, onFinished?),
// playBetween(fromItem, toItem, onFinished?), clear()

Notes

Uses a single ConnectedAnimation ghost parented to Overlay.overlay. Same key may be registered twice (from + to); play() morphs first→last.

API

Properties

No additional properties beyond the base type.

Signals

No custom signals (use inherited signals from the base type).

Methods

Signature Description
register(key, item) —
unregister(key, item) —
clear() —
play(key, onFinished) —
playBetween(fromItem, toItem, onFinished) —

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.