Contact emails
[email protected]

Explainer
https://github.com/danielsakhapov/declarative-scroll-commands-for-html-explainer


Specification
No information provided


Summary
A set of new `command` values for the `HTMLButtonElement` to declaratively 
control the scroll position of a target element. This allows authors to create 
custom scrolling UI (eg, for carousels or galleries) without requiring 
JavaScript, improving accessibility and simplifying implementation.


Blink component
Blink>HTML


Web Feature ID
Missing feature


Motivation
Authors frequently build custom components that contain a scrollable region, 
such as: A horizontal carousel of products or images. A vertically scrolling 
list of items within a modal. A 2D scrolling area for a map or canvas. These 
components almost always require custom "Next," "Previous," "Up," or "Down" 
buttons. Currently, authors must write JavaScript to wire these buttons up. 
This proposal moves this common, repetitive behavior into the platform, making 
it declarative, robust, and accessible by default.


Initial public proposal
https://github.com/openui/open-ui/issues/1220


Requires code in //chrome?
False


Tracking bug
https://g-issues.chromium.org/issues/457939344


Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/6400108400869376?gate=6716412206907392


This intent message was generated by Chrome Platform Status.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/69154378.2b0a0220.245a73.032b.GAE%40google.com.

Reply via email to