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/name below:

name · WebPlatform Docs

name Summary

Name of flow, as specified by any element’s flow-from or flow-into properties.

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

Syntax

Note: This property is read-only.

var id = flow.name;
Return Value

Returns an object of type StringString

Name of flow, as specified by any element’s flow-from or flow-into properties.

Examples




function modifyFlow(e) {
    var flow = e.target;
    if (flow.overset) {
        appendRegion(flow.name);
    }
    else if (flow.firstEmptyRegionIndex !== -1) {
        trimRegions(flow.name);
    }
}

document.getNamedFlows().namedItem('main').addEventListener('regionoversetchange', modifyFlow);
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