2021.1

Table Of Contents
Function Description
size() Gets the number of elements in this result set. Equivalent to the
length property.
"tagName()" on
page1382
Returns the HTML tag name of the first element in this result set, in
uppercase. For an example see: "Creating a Table Of Contents" on
page921.
"text()" on
page1382
Replaces the textcontentof an HTML element or of each element in a
set of HTML elements with the supplied value, or returns the text
content of the first element if no value is supplied.
"width()" on
page1383
Gets or sets the outer width of an element, including padding and
borders.
info()
Returns pagination information for one HTML element or for the first element in a result set (see
"results" on page1427) of a query across all sections in a Print context (see "query(selector)"
on page1425).
The returned information is of the type PaginationInfo (see "PaginationInfo" on page1426).
This function can only be used in a Post Pagination Script ; see "Post Pagination Script API" on
page1421.
For an example see: "Creating a Table Of Contents" on page921.
overflows()
The overflows() method returns a boolean value indicating whether an HTML element
overflows its box boundaries.
This function could for instance be used in a design where content needs to flow separately
from the main text flow, or where a new, full-page, multi-column box should be inserted when
the current one overflows.
Page 1431