papi-dts
    Preparing search index...

    Variable CONTENT_ZOOM_ROOT_ATTRIBUTEConst Experimental

    CONTENT_ZOOM_ROOT_ATTRIBUTE: "data-platform-content-zoom-root" = 'data-platform-content-zoom-root'

    Attribute a web view puts on each element that wraps one zoom area's content (below its own toolbar, outside dividers and headers). The attribute value is the area id. Three values name the MAIN_CONTENT_ZOOM_AREA area instead: an empty value (data-platform-content-zoom-root=""), ="main", and the ="true" React serializes a bare JSX prop (<div data-platform-content-zoom-root />) to. Write the empty value in static markup and the bare prop in JSX; either way the area is main. The platform's injected stylesheet applies zoom: var(--platform-content-zoom-<area>) to it. A marker inside another marker is ignored — matched by neither the platform's stylesheet nor its report of the view's areas — so nesting never compounds one area's zoom into another's. Web views without this attribute ignore per-area zoom input and are scaled whole at the Settings default.

    Extension code cannot import this value at runtime — @papi/core is types-only — so a web view writes the literal 'data-platform-content-zoom-root' itself and keeps it equal to this constant.

    This constant is unstable and may change or disappear without notice