LargestContentfulPaint class

The interface of the Largest Contentful Paint API provides details about the largest image or text paint before user input on a web page. The timing of this paint is a good heuristic for when the main page content is available during load.

PerformanceEntry

LargestContentfulPaint

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

LargestContentfulPaint()
factory

Properties

duration double

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
element Element?

Available on LargestContentfulPaint, provided by the PropsLargestContentfulPaint extension

no setter
entryType String

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
hashCode int
The hash code for this object.
no setterinherited
id String

Available on LargestContentfulPaint, provided by the PropsLargestContentfulPaint extension

no setter
loadTime double

Available on LargestContentfulPaint, provided by the PropsLargestContentfulPaint extension

no setter
name String

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
renderTime double

Available on LargestContentfulPaint, provided by the PropsLargestContentfulPaint extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int

Available on LargestContentfulPaint, provided by the PropsLargestContentfulPaint extension

no setter
startTime double

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
url String

Available on LargestContentfulPaint, provided by the PropsLargestContentfulPaint extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → dynamic

Available on LargestContentfulPaint, provided by the PropsLargestContentfulPaint extension

toJSON() → dynamic

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited