DocumentPictureInPictureOptions Class

Constructors

NameDescription
DocumentPictureInPictureOptions()

DocumentPictureInPictureOptions()

public DocumentPictureInPictureOptions()

No documentation is available.

Properties

NameDescription
DisallowReturnToOpenerGets whether the user agent should not show a button that returns to the opener.
HeightGets the requested height of the viewport of the window in CSS pixels, or 0 for the default height.
PreferInitialWindowPlacementGets whether the window opens at its initial size rather than the size of the previous window of the opener.
WidthGets the requested width of the viewport of the window in CSS pixels, or 0 for the default width.

DisallowReturnToOpener

DocumentPictureInPicture.cs

Gets whether the user agent should not show a button that returns to the opener.

public bool DisallowReturnToOpener { get; init; }

Gets the requested height of the viewport of the window in CSS pixels, or 0 for the default height.

public ulong Height { get; init; }

PreferInitialWindowPlacement

DocumentPictureInPicture.cs

Gets whether the window opens at its initial size rather than the size of the previous window of the opener.

public bool PreferInitialWindowPlacement { get; init; }

Gets the requested width of the viewport of the window in CSS pixels, or 0 for the default width.

public ulong Width { get; init; }