LWT JavaScript API
    Preparing search index...

    Multi-word modal Alpine.js component interface.

    interface MultiWordModalData {
        canSubmit: boolean;
        formText: string;
        generalError: string | null;
        hasGeneralError: boolean;
        hasRomanizationError: boolean;
        hasSentenceError: boolean;
        hasTranslationError: boolean;
        isLoading: boolean;
        isOpen: boolean;
        isSubmitting: boolean;
        modalTitle: string;
        romanization: string;
        romanizationError: string | null;
        sentence: string;
        sentenceError: string | null;
        showRomanization: boolean;
        statuses: StatusInfo[];
        store: MultiWordFormStoreState;
        translation: string;
        translationError: string | null;
        wordCountLabel: string;
        clearGeneralError(): void;
        close(): void;
        getStatusButtonClass(status: number): string;
        init(): void;
        isCurrentStatus(status: number): boolean;
        save(): Promise<void>;
        setStatus(status: number): void;
        validateField(field: string): void;
    }
    Index

    Properties

    canSubmit: boolean
    formText: string
    generalError: string | null
    hasGeneralError: boolean
    hasRomanizationError: boolean
    hasSentenceError: boolean
    hasTranslationError: boolean
    isLoading: boolean
    isOpen: boolean
    isSubmitting: boolean
    modalTitle: string
    romanization: string
    romanizationError: string | null
    sentence: string
    sentenceError: string | null
    showRomanization: boolean
    statuses: StatusInfo[]
    translation: string
    translationError: string | null
    wordCountLabel: string

    Methods