DocumentPictureInPictureOptions Class
The options of DocumentPictureInPicture.RequestWindow.
public sealed class DocumentPictureInPictureOptionsConstructors
| Name | Description |
|---|---|
| DocumentPictureInPictureOptions() |
DocumentPictureInPictureOptions()
public DocumentPictureInPictureOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| DisallowReturnToOpener | Gets whether the user agent should not show a button that returns to the opener. |
| Height | Gets the requested height of the viewport of the window in CSS pixels, or 0 for the default height. |
| PreferInitialWindowPlacement | Gets whether the window opens at its initial size rather than the size of the previous window of the opener. |
| Width | Gets the requested width of the viewport of the window in CSS pixels, or 0 for the default width. |
DisallowReturnToOpener
DocumentPictureInPicture.csGets 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.csGets 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; }