getChildren

Commons
stable

Returns the direct animatable children of a transition root element (card, sheet, or list). Used internally by overlay transition helpers.

API

Signature

Full TypeScript signature sourced from the util file.

typescript

API

Parameters

Input parameters accepted by this util.

el
required
Element
The root element to query. The function looks for a direct child matching .origam-card, .origam-sheet, or .origam-list and returns its children.

API

Return value

The value returned by this util.

Array of children elements of the matched inner container, or undefined when no matching child is found.

Usage

Examples

Ready-to-paste usage snippets.

Collecting animatable children

typescript