Expand description

Mini Script that runs without arguments.

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 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.

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.