getContent

Jump to: navigation, search

getContent()

This page has been flagged with the following issues:

High-level issues:


W3C Editor's Draft

Summary

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

Method of apis/css-regions/NamedFlow

Syntax

var elements = flow.getContent();


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 3 W3C Editor's Draft

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic Support
20 -webkit
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
Unsupported

See also

Related articles

Regions





  • getContent()





























External resources