WEBINARNo AI, your AI, or a team of agents: Introducing CKEditor Editing Toolkit. REGISTER NOW!
Sign up (with export icon)

table/tablescroll/measure

Api-module iconmodule

Functions

  • Chevron-right icon

    getWidthInPixels( options ) → number
    internal

    Returns a CSS width value in pixels, relative to containerWidth. Units other than px and % are measured in the DOM, using the font of domFontSource.

    Parameters

    options: WidthProbeOptions

    Returns

    number
  • Chevron-right icon

    isWidthProbeNeeded( width ) → boolean
    internal

    Checks if a CSS width value needs to be measured in the DOM to be resolved to pixels, that is, if it is in units other than px and %.

    Parameters

    width: string

    Returns

    boolean