AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.0.2-alpha-284" />

.NET API 888,320 bytes

 IWindow

The interface for a browsing window element. https://developer.mozilla.org/en-US/docs/Web/API/Window
using AngleSharp.Attributes; using AngleSharp.Browser.Dom; using AngleSharp.Dom.Events; using System; using System.Runtime.CompilerServices; namespace AngleSharp.Dom { [System.Runtime.CompilerServices.NullableContext(2)] [DomName("Window")] public interface IWindow : IEventTarget, IGlobalEventHandlers, IWindowEventHandlers, IWindowTimers, IDisposable { [System.Runtime.CompilerServices.Nullable(1)] [DomName("document")] IDocument Document { [System.Runtime.CompilerServices.NullableContext(1)] get; } [System.Runtime.CompilerServices.Nullable(1)] [DomName("location")] [DomPutForwards("href")] ILocation Location { [System.Runtime.CompilerServices.NullableContext(1)] get; } [DomName("closed")] bool IsClosed { get; } [DomName("status")] string Status { get; set; } [DomName("name")] string Name { get; set; } [DomName("outerHeight")] int OuterHeight { get; } [DomName("outerWidth")] int OuterWidth { get; } [DomName("screenX")] int ScreenX { get; } [DomName("screenY")] int ScreenY { get; } [DomName("window")] [DomName("frames")] [DomName("self")] IWindow Proxy { get; } [DomName("navigator")] INavigator Navigator { get; } [DomName("history")] IHistory History { get; } [DomName("close")] void Close(); [return: System.Runtime.CompilerServices.Nullable(1)] IWindow Open([System.Runtime.CompilerServices.Nullable(1)] string url = "about:blank", string name = null, string features = null, string replace = null); [DomName("stop")] void Stop(); [DomName("focus")] void Focus(); [DomName("blur")] void Blur(); [System.Runtime.CompilerServices.NullableContext(1)] [DomName("alert")] void Alert(string message); [System.Runtime.CompilerServices.NullableContext(1)] [DomName("confirm")] bool Confirm(string message); [DomName("print")] void Print(); } }