IWindow
The interface for a browsing window element.
https://developer.mozilla.org/en-US/docs/Web/API/Window
using AngleSharp.Attributes;
using AngleSharp.Dom.Css;
using AngleSharp.Dom.Events;
using AngleSharp.Dom.Navigator;
namespace AngleSharp.Dom
{
[DomName("Window")]
public interface IWindow : IEventTarget, IGlobalEventHandlers, IWindowEventHandlers, IWindowTimers
{
[DomName("document")]
IDocument Document { get; }
[DomName("location")]
[DomPutForwards("href")]
ILocation Location { 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 { get; }
[DomName("history")]
IHistory History { get; }
[DomName("getComputedStyle")]
ICssStyleDeclaration GetComputedStyle(IElement element, string pseudo = null);
[DomName("close")]
void Close();
IWindow Open(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();
[DomName("alert")]
void Alert(string message);
[DomName("confirm")]
bool Confirm(string message);
[DomName("print")]
void Print();
[DomName("matchMedia")]
IMediaQueryList MatchMedia(string media);
}
}