Interface Reactive<Value>

interface Reactive<Value> {
    CURRENT: Value;
    [Invoke]?: Value;
    current: Value;
    toHTML(): string;
}

Type Parameters

  • Value

Hierarchy

  • GlintRenderable
    • Reactive

Properties

Methods

Properties

CURRENT: Value
[Invoke]?: Value
current: Value

Methods

  • Cells aren't inherently understood by Glint, so to work around that, we'll hook in to the fact that ContentValue (the type expected for all renderables), defines an interface with this signature.

    (SafeString)

    There has been interest in the community to formally support toString and toHTML APIs across all objects. An RFC needs to be written so that we can gather feedback / potential problems.

    Returns string

Generated using TypeDoc