Table of Contents

Class PageTransitionEvent

Namespace
AngleSharp.Dom.Events
Assembly
AngleSharp.dll

Represents a page transition event argument.

[DomName("PageTransitionEvent")]
public class PageTransitionEvent : Event
Inheritance
PageTransitionEvent
Inherited Members
Extension Methods

Constructors

PageTransitionEvent()

Creates a new event.

public PageTransitionEvent()

PageTransitionEvent(string, bool, bool, bool)

Creates a new event and initializes it.

[DomConstructor]
[DomInitDict(1, true)]
public PageTransitionEvent(string type, bool bubbles = false, bool cancelable = false, bool persisted = false)

Parameters

type string

The type of the event.

bubbles bool

If the event is bubbling.

cancelable bool

If the event is cancelable.

persisted bool

Indicates if a webpage is loading from a cache.

Properties

IsPersisted

Gets if a webpage is loading from a cache..

[DomName("persisted")]
public bool IsPersisted { get; }

Property Value

bool

Methods

Init(string, bool, bool, bool)

Initializes the event.

[DomName("initPageTransitionEvent")]
public void Init(string type, bool bubbles, bool cancelable, bool persisted)

Parameters

type string

The type of the event.

bubbles bool

If the event is bubbling.

cancelable bool

If the event is cancelable.

persisted bool

Indicates if a webpage is loading from a cache.