Class LayoutShift

java.lang.Object
io.webfolder.cdp.type.performancetimeline.LayoutShift

public class LayoutShift extends Object
See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl
  • Constructor Details

    • LayoutShift

      public LayoutShift()
  • Method Details

    • getValue

      public Double getValue()
      Score increment produced by this event.
    • setValue

      public void setValue(Double value)
      Score increment produced by this event.
    • isHadRecentInput

      public Boolean isHadRecentInput()
    • setHadRecentInput

      public void setHadRecentInput(Boolean hadRecentInput)
    • getLastInputTime

      public Double getLastInputTime()
    • setLastInputTime

      public void setLastInputTime(Double lastInputTime)
    • getSources

      public List<LayoutShiftAttribution> getSources()
    • setSources

      public void setSources(List<LayoutShiftAttribution> sources)
    • toString

      public String toString()
      Overrides:
      toString in class Object