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/NamedFlowCollection/namedItem below:

namedItem() · WebPlatform Docs

namedItem() Summary

Retrieve a named flow by its name

Method of apis/css-regions/NamedFlowCollectionapis/css-regions/NamedFlowCollection

Syntax
var flow = flows.namedItem(name);
Parameters name
Data-type
String

the name of the named flow

Return Value

Returns an object of type DOM NodeDOM Node

the NamedFlow object that corresponds to the specified name

Examples

Retrieve the main flow from the document, in one method-chained line:

var flow = document.getNamedFlows().namedItem('main');
Usage
 The NamedFlowCollection object is an array snapshot of a document's named flows. This method allows you to access a specific flow directly by its name, rather than by iterating over the array.
Related specifications
CSS Regions Module Level 1
W3C Working Draft 28 May 2013
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