W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2013

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

From: Brian Birtles <bbirtles@mozilla.com>
Date: Fri, 01 Nov 2013 08:21:44 +0900
Message-ID: <5272E608.2040301@mozilla.com>
To: public-fx@w3.org
(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,


[1] http://www.w3.org/TR/WebIDL/#dfn-callback-interface
[2] http://www.w3.org/TR/WebIDL/#dfn-user-object
Received on Thursday, 31 October 2013 23:22:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:47 UTC