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
EventContentVisibilityAutoStateChangeEvent
Constructors
| Name | Description |
|---|---|
| ContentVisibilityAutoStateChangeEvent(string, ContentVisibilityAutoStateChangeEventInit?) | Creates an event with the given type and initialization dictionary. |
ContentVisibilityAutoStateChangeEvent(string, ContentVisibilityAutoStateChangeEventInit?)
ContentVisibilityAutoStateChangeEvent.csCreates an event with the given type and initialization dictionary.
public ContentVisibilityAutoStateChangeEvent(string type, ContentVisibilityAutoStateChangeEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| Skipped | Gets 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; }