table/tablescroll/measure
module
Functions
getWidthInPixels( options ) → numberinternalmodule:table/tablescroll/measure~getWidthInPixelsReturns a CSS
widthvalue in pixels, relative tocontainerWidth. Units other thanpxand%are measured in the DOM, using the font ofdomFontSource.Parameters
options: WidthProbeOptions
Returns
number
isWidthProbeNeeded( width ) → booleaninternalmodule:table/tablescroll/measure~isWidthProbeNeededChecks if a CSS
widthvalue needs to be measured in the DOM to be resolved to pixels, that is, if it is in units other thanpxand%.Parameters
width: string
Returns
boolean