Re: [web-animations] AnimationPlayer.source

Hi Jonathan,

Thanks for your feedback.

Would 'animation' still be appropriate if players can target non-animation
content (e.g. video or audio) in the future?

Thanks,
    -Shane

On Wed Feb 04 2015 at 11:28:56 AM Jonathan Watt <jwatt@jwatt.org> wrote:

> Can the AnimationPlayer.source property *please* be renamed? The word
> "source"
> doesn't seem to make any sense, and would seem to imply it points to the
> element
> or something. It pointing to the Animation object was completely
> counterintuitive to me, since I'd think of the relationship being
> reversed. I.e.
> the AnimationPlayer controls the Animation, and in that way its actions
> "target"
> the Animation, which is the inverse direction of a source<->target
> relationship.
>
> I'm not sure "target" is a good name though, since to the uninitiated on
> anyone
> not frequently dealing with animations scanning through code that again
> would
> likely look like it refers to the element. I'd suggest calling it
> "animation".
>
>

Received on Wednesday, 4 February 2015 00:36:12 UTC