- From: Peter Linss via GitHub <sysbot+gh@w3.org>
- Date: Thu, 10 Dec 2020 04:00:31 +0000
- To: public-houdini-archive@w3.org
Another option (and a bit more modern JS) could be to use a dictionary initializer as a single argument to the constructor. It also buys you some extensibility and flexibility. Something like: `CSSRGB({r: 0, g: 128, b: 255})` or `CSSRGB({rPct: 0, gPct: 50, bPct: 100})` (not personally a fan of the abbreviation but trying to keep it succinct) -- GitHub Notification of comment by plinss Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1014#issuecomment-742223582 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 10 December 2020 04:00:33 UTC