struct Protocol::PerformanceTimeline::LayoutShift

Overview

See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.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 had_recent_input : Bool #

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

[View source]
def sources : Array(LayoutShiftAttribution) #

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

Score increment produced by this event.


[View source]