Re: [heycam/webidl] Allow iterable objects without having to become fake arrays (or fix spec) (#325)

Well, pending Array subclassing, I want to expose the entries in a list-like interface. We've got two of them in TypedOM at the moment - the CSSUnparsedValue class (a list of alternating strings and variable references) and the CSSTransformValue class (a list of transform functions).  The bare minimum of useful functionality would be to expose an iterator for these objects; otherwise I'll have to more awkwardly expose a raw Array attribute, and do some funky checking of the values when you push the object back into CSS.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/325#issuecomment-283730272

Received on Friday, 3 March 2017 02:11:01 UTC