Vixen
dd8b0a81
csharp
public enum ScrollSnapAxis

Which axes a scroll container snaps on.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

CSS Scroll Snap's scroll-snap-type, minus the two axes this engine has no writing mode to distinguish — block and inline would mean y and x in every configuration Vixen.Ui.Layout can be in, which is scroll-mbs-*'s argument one property over.

Fields and properties (4)

  • None

    It does not. The initial value, and what every scroll did before this was read.

  • X

    Horizontally.

  • Y

    Vertically.

  • Both

    Both, independently — a scroll can be snapped on one axis and loose on the other.

Used by (1)

  • ScrollViewVixen.Ui.Controls