getContent

Jump to: navigation, search

getContent()

W3C Working Draft

Summary

Returns a static collection of nodes representing the flow's source content.

Method of apis/css-regions/NamedFlow

Syntax

var elements = flow.
  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.
(x1, constraints, x, x, index, token, token, token, element, format, namespace, name, namespace, text, text, tagName, eventType, rootNode, target, text, rootNode, x, id, name, namespace, url, node, str, psarray, eventType, fragment, where, name, namespaceURI, namespace, name, namespaceURI, where, Range, label, candidate, data, track, x, x, x, when, when, waveTable, frequencyHz ... further results);


Return Value

Returns an object of type function.

Returns a static collection of nodes representing the flow's source content.

Examples

Get the last source element whose flow-into adds it to the flow:

JavaScript

// get flow:
var flow = document.getNamedFlows().namedItem('main');
// get all flow-into elements:
var elements = flow.getContent();
// of these, get last element:
var lastElement = elements[elements.length-1];



Related specifications

Specification Status Related Changes
CSS Regions Module Level 1 W3C Working Draft

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic Support Unsupported
Unsupported
Unsupported
Unsupported
534 -webkit

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic Support Unsupported
Unsupported
Unsupported
Unsupported
Unsupported
Unsupported
Unsupported
537 -webkit

The given value was not understood.

See also

Related articles

The given value was not understood.

Regions





  • getContent()


























  • NO_VALID_VALUE



External resources

The given value was not understood.