ContentVisibilityAutoStateChangeEvent Class

The event fired at an element with content-visibility: auto when it starts or stops skipping its contents (https://drafts.csswg.org/css-contain-2/#content-visibility-auto-state-change).

public sealed class ContentVisibilityAutoStateChangeEvent : Event
Inheritance
Event ContentVisibilityAutoStateChangeEvent

Constructors

NameDescription
ContentVisibilityAutoStateChangeEvent(string, ContentVisibilityAutoStateChangeEventInit?)Creates an event with the given type and initialization dictionary.

ContentVisibilityAutoStateChangeEvent(string, ContentVisibilityAutoStateChangeEventInit?)

ContentVisibilityAutoStateChangeEvent.cs

Creates an event with the given type and initialization dictionary.

public ContentVisibilityAutoStateChangeEvent(string type, ContentVisibilityAutoStateChangeEventInit? eventInitDict = null)

Properties

NameDescription
SkippedGets whether the target changed state to skip its contents (false when it stopped skipping them).

Gets whether the target changed state to skip its contents (false when it stopped skipping them).

public bool Skipped { get; }