A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/css-regions/NamedFlow/overset below:

overset · WebPlatform Docs

overset Summary

Indicates whether a flow’s content exceeds available space within a region chain, or if no available chain in which to flow content exists.

Property of apis/css-regions/NamedFlowapis/css-regions/NamedFlow

Syntax

Note: This property is read-only.

var exceedsRegions = flow.overset;
Return Value

Returns an object of type BooleanBoolean

Indicates whether a flow’s content exceeds available space within a region chain. Also indicates when no chain is available in which to flow content.

Examples


function appendRegion(flowName) {
    var flow = document.getNamedFlows().namedItem(flowName);
    var layout = document.querySelector('#layout_wrapper');
    var region;

    
    if (! flow.overset) return(false);

    
    
    region = document.createElement('div');
    layout.appendChild(region);

    return(true); 
}

appendRegion('mainFlow');
Notes

Not to be confused with regionOverset, which indicates the overset state of individual regions. Only the final region in a chain can be overset.

Related specifications
CSS Regions Module Level 1
W3C Working Draft
See also Related articles Regions External resources

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4