LargestContentfulPaint

Overview

The LargestContentfulPaint 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.

Location

 

element

 

property element: Element read write;

 

Element element { get; set; }

 

var element: Element { get{} set{} }

 

Element element { __get; __set; }

 

Property element() As Element

id

 

property id: Int32 read write;

 

Int32 id { get; set; }

 

var id: Int32 { get{} set{} }

 

Int32 id { __get; __set; }

 

Property id() As Int32

loadTime

 

property loadTime: DateTime read write;

 

DateTime loadTime { get; set; }

 

var loadTime: DateTime { get{} set{} }

 

DateTime loadTime { __get; __set; }

 

Property loadTime() As DateTime

renderTime

 

property renderTime: DateTime read write;

 

DateTime renderTime { get; set; }

 

var renderTime: DateTime { get{} set{} }

 

DateTime renderTime { __get; __set; }

 

Property renderTime() As DateTime

size

 

property size: HTMLElement read write;

 

HTMLElement size { get; set; }

 

var size: HTMLElement { get{} set{} }

 

HTMLElement size { __get; __set; }

 

Property size() As HTMLElement

toJSON

Returns the above properties as JSON.

 

method toJSON: dynamic

 

dynamic toJSON()

 

func toJSON() -> dynamic

 

dynamic toJSON()

 

Function toJSON() As dynamic

url

 

property url: String read write;

 

String url { get; set; }

 

var url: String { get{} set{} }

 

String url { __get; __set; }

 

Property url() As String

 

element

 

property element: Element read write;

 

Element element { get; set; }

 

var element: Element { get{} set{} }

 

Element element { __get; __set; }

 

Property element() As Element

id

 

property id: Int32 read write;

 

Int32 id { get; set; }

 

var id: Int32 { get{} set{} }

 

Int32 id { __get; __set; }

 

Property id() As Int32

loadTime

 

property loadTime: DateTime read write;

 

DateTime loadTime { get; set; }

 

var loadTime: DateTime { get{} set{} }

 

DateTime loadTime { __get; __set; }

 

Property loadTime() As DateTime

renderTime

 

property renderTime: DateTime read write;

 

DateTime renderTime { get; set; }

 

var renderTime: DateTime { get{} set{} }

 

DateTime renderTime { __get; __set; }

 

Property renderTime() As DateTime

size

 

property size: HTMLElement read write;

 

HTMLElement size { get; set; }

 

var size: HTMLElement { get{} set{} }

 

HTMLElement size { __get; __set; }

 

Property size() As HTMLElement

url

 

property url: String read write;

 

String url { get; set; }

 

var url: String { get{} set{} }

 

String url { __get; __set; }

 

Property url() As String

 

toJSON

Returns the above properties as JSON.

 

method toJSON: dynamic

 

dynamic toJSON()

 

func toJSON() -> dynamic

 

dynamic toJSON()

 

Function toJSON() As dynamic