Expand description

Possibly problematic thing. Not meant to be used directly. Stuff should subclass this.

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.

Fail text, should explain how to resolve issue.

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.

Success text. Should explain why something is good if you want.

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.

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.