[Go to site: main page, start]

Interface MessageReferenceValue

The resolved value of a Fluent message or term reference.

See getMessageFunction.

interface MessageReferenceValue {
    dir: "ltr" | "rtl" | "auto";
    options?: object;
    type: "fluent-message";
    selectKey(keys: Set<string>): string | null;
    toParts(): [MessageReferencePart];
    toString(): string;
    valueOf(): string;
}

Hierarchy (View Summary)

Index

Properties

dir: "ltr" | "rtl" | "auto"
options?: object
type: "fluent-message"

Methods

  • Parameters

    • keys: Set<string>

    Returns string | null