struct Protocol::PerformanceTimeline::LargestContentfulPaint

Overview

See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl

Included Modules

Defined in:

protocol/performance_timeline.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def element_id : String | Nil #

The id attribute of the element, if available.


[View source]
def load_time : Network::TimeSinceEpoch #

[View source]
def node_id : DOM::BackendNodeId | Nil #

[View source]
def render_time : Network::TimeSinceEpoch #

[View source]
def size : Number::Primitive #

The number of pixels being painted.


[View source]
def url : String | Nil #

The URL of the image (may be trimmed).


[View source]