ViewportSegmentsOptions Class

The host hooks of the viewport segments (https://drafts.csswg.org/css-viewport/#viewport-segments, BrowsingContextOptions.ViewportSegments).

public sealed class ViewportSegmentsOptions

Constructors

NameDescription
ViewportSegmentsOptions()

ViewportSegmentsOptions()

public ViewportSegmentsOptions()

No documentation is available.

Properties

NameDescription
ProviderGets 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.

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.

public DisplayFeaturesProvider? Provider { get; init; }