Obsolete. Replaced by NamedFlowMap. Represents a static snapshot array of a document’s available named flows
PropertiesNo properties.
MethodsNo events.
ExamplesRetrieve the main flow from the document, in one method-chained line:
var flow = document.getNamedFlows().namedItem('main');
Same as above, but iterates over the NamedFlowCollection object represented in a flows variable:
var flow;
var flows = document.getNamedFlows();
for (var i = 0; i < flows.length; i++) {
if (flows[i].name == 'main') {
flow = flows[i];
break;
}
}
Usage
For any flows in the collection that disappear when they are no longer assigned to any content, item() and namedItem() yield null.
Related specifications
NamedFlowCollection
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