Vixen
dd8b0a81
csharp
public enum ScrollSnapAlign

Where a snap candidate lines up inside the container it snaps in.

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

Remarks

scroll-snap-align, per axis. The edges are the snapport's — the viewport as scroll-padding leaves it — and the candidate's are its own as scroll-margin leaves it, which is the same pair of elements ScrollIntoView reads and for the same reason.

Fields and properties (4)

  • None

    Not a candidate at all. The initial value.

  • Start

    Its near edge meets the snapport's near edge.

  • Center

    Its middle meets the snapport's middle.

  • End

    Its far edge meets the snapport's far edge.

Used by (1)

  • ScrollViewVixen.Ui.Controls