Re: [web-animations] Why does Web Animations CustomEffect not have constructor?

(2013/10/31 5:09), Shane Stephens wrote:
> Hi Ohzeki-san,
> The reason for this is that CustomEffect objects are provided by the
> users of Web Animations, whereas the other Effect objects are part of
> the model.

Just to add some WebIDL terminology here, CustomEffect is a callback
interface[1] and hence is implemented by user objects[2] which, as Shane
points out, may be created by a constructor.

Best regards,



Received on Thursday, 31 October 2013 23:22:11 UTC