PerformanceTimeline
Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
Sent when a performance timeline event is added. See reportPerformanceTimeline method.
Properties
Functions
Link copied to clipboard
suspend fun enable(args: PerformanceTimeline.EnableParameter, mode: CommandMode = CommandMode.DEFAULT)
Previously buffered events would be reported before method returns. See also: timelineEventAdded