DVUI

animationGet

Retrieve an animation previously added with animation. See Animation.

Only valid between Window.begin and Window.end.

Parameters

#
id:Id
Id
key:[]const u8
[]const u8

Source

Implementation

#
pub fn animationGet(id: Id, key: []const u8) ?Animation {
    const h = id.update(key);
    return currentWindow().animations.get(h);
}