FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

pythonnative/docs/api/animated.md at v0.41.0 · pythonnative/pythonnative · GitHub

Repository navigation

Latest commit

 

History

History
26 lines (22 loc) · 1.01 KB

File metadata and controls

26 lines (22 loc) · 1.01 KB

Animated

PythonNative's Animated API mirrors React Native's. Build performant animations declaratively by binding [AnimatedValue][pythonnative.AnimatedValue] instances to the style of an Animated.View, Animated.Text, or Animated.Image. The reconciler holds a ref to the underlying native view. Connected values, derived expressions, and style bindings form a graph evaluated by the renderer, so supported animations bypass Python reconciliation on each frame. Unattached values, Python listeners, callable easing functions, and backends that decline native animation use the Python ticker.

::: pythonnative.animated options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"] show_if_no_docstring: true

See also

  • The Animations guide walks through fade-ins, springs, sequences, and gesture-driven animations.
  • [use_ref][pythonnative.use_ref] explains the ref semantics that back Animated.View.

Back | FazBrowse Home | New Git URL