Re: [csswg-drafts] [css-nav-1] Improve the name of window.navigate (#3387)

@zcorpan using the staring point as the object from which this hangs seems like a good idea but I'm less sure about replacing `function_name("up")` with `up()`. If we have single function with parameters for doing this, it makes it trivial in the future to extent to more than 4 directions. Not only can we add the two sequential ones, but we can also have the 8 directions a game controler's d-pad typically has, or even start taking an arbitrary angle. Without a function name, this extensibility is lost.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3387#issuecomment-496763418 using your GitHub account

Received on Wednesday, 29 May 2019 02:52:55 UTC