- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 03 Feb 2017 19:16:46 +0000
- To: public-houdini-archive@w3.org
tabatkins has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-typed-om] Add .update() to styleMap == Per [Seattle resolution](https://log.csswg.org/irc.w3.org/houdini/2017-01-10/#e755988), we should add a .update() method to styleMap, which takes a key and a callback, passing the value to the callback and setting the key to the return value. This is a convenience API to make it easier to mutate things without having to repeat yourself. (There was discussion about this making things more performant, as you only need one cache lookup, but Daniel Ehrenburg pointed out that you can mutate the map in the callback, so you can't rely on the cache lookup remaining valid.) Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/353 using your GitHub account
Received on Friday, 3 February 2017 19:16:53 UTC