Expand description

A group of elements. Will render as a collapsible section for easy browsing.

Constructors

constructor

All elements have an id associated to encourage short unique ids for all elements.

Properties

Cached renders.

String of text shown on expand or on hover that gives more details.

Internal element list.

Internal id used in filesystem refs and urls so no spaces or nasty chars please. Please set this yourself if possible.

Current state of the element.

Title, this should make it really clear what the element is about.

Methods

Overridable universal element initialization implementation.

Overridable render implementation. Results from this must not be cached.

Overridable universal elememnt execution implementation.

Chainable add element to group method.

Copy all the elements from a group. Useful if you don't want one group nested inside another.

User-facing render implementation.

Universal method applicable to all elements for executing their functions. DO NOT OVERRIDE. Please override _run instead which is called internally.