ViewportSegmentsOptions Class
The host hooks of the viewport segments (https://drafts.csswg.org/css-viewport/#viewport-segments, BrowsingContextOptions.ViewportSegments).
public sealed class ViewportSegmentsOptionsConstructors
| Name | Description |
|---|---|
| ViewportSegmentsOptions() |
ViewportSegmentsOptions()
public ViewportSegmentsOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Provider | Gets or sets the display features of the screen, which split the viewport of the top-level documents in segments (window.viewport.segments, the horizontal-viewport-segments and vertical-viewport-segments media features and the viewport-segment-* environment variables). A provider can be shared by several browsing contexts. The default is null: the viewport has a single segment. |
Provider
ViewportSegments.csGets or sets the display features of the screen, which split the viewport of the top-level documents in segments (window.viewport.segments, the horizontal-viewport-segments and vertical-viewport-segments media features and the viewport-segment-* environment variables). A provider can be shared by several browsing contexts. The default is null: the viewport has a single segment.
public DisplayFeaturesProvider? Provider { get; init; }