struct Protocol::PerformanceTimeline::TimelineEvent
- Protocol::PerformanceTimeline::TimelineEvent
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
protocol/performance_timeline.crConstructors
Instance Method Summary
-
#duration : Number::Primitive | Nil
Event duration, if applicable.
-
#frame_id : Page::FrameId
Identifies the frame that this event is related to.
- #layout_shift_details : LayoutShift | Nil
- #lcp_details : LargestContentfulPaint | Nil
-
#name : String
Name may be empty depending on the type.
-
#time : Network::TimeSinceEpoch
Time in seconds since Epoch, monotonically increasing within document lifetime.
-
#type : String
The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fiedls is present.
Constructor Detail
Instance Method Detail
def frame_id : Page::FrameId
#
Identifies the frame that this event is related to. Empty for non-frame targets.
def time : Network::TimeSinceEpoch
#
Time in seconds since Epoch, monotonically increasing within document lifetime.
def type : String
#
The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fiedls is present.