LWT JavaScript API
    Preparing search index...

    Context for word actions - contains all data needed to perform operations.

    interface WordActionContext {
        hex?: string;
        position: number;
        romanization?: string;
        status?: number;
        text: string;
        textId: number;
        translation?: string;
        wordId?: number;
    }
    Index

    Properties

    hex?: string

    Hex class identifier for the term (for DOM updates)

    position: number

    Word position/order in text

    romanization?: string

    Word romanization

    status?: number

    Current word status

    text: string

    The word text itself

    textId: number

    Text ID containing the word

    translation?: string

    Word translation

    wordId?: number

    Word ID (undefined for unknown words)