MCPcopy Create free account
hub / github.com/angular-rust/ux-charts / AnimationOptions

Class AnimationOptions

src/options.rs:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24pub struct AnimationOptions {
25 /// The animation duration in ms.
26 pub duration: usize,
27
28 /// String|EasingFunction - Name of a predefined easing function or an
29 /// easing function itself.
30 ///
31 /// See [animation.dart] for the full list of predefined functions.
32 pub easing: String,
33
34 /// () -> fn - The function that is called when the animation is complete.
35 pub on_end: Option<fn()>,
36}
37
38pub struct LegendOptions<'a> {
39 /// (String label) -> String - A function that format the labels.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected