H5P NodeJS Library
    Preparing search index...

    The structure of entries in language files. This is basically a subset of translatable ISemanticsEntry properties.

    interface ILanguageFileEntry {
        default?: string;
        description?: string;
        entity?: string;
        field?: ILanguageFileEntry;
        fields?: ILanguageFileEntry[];
        important?: { description: string; example: string };
        label?: string;
        options?: any[] | { label: string }[];
        placeholder?: string;
    }
    Index

    Properties

    default?: string

    The default value of the field.

    description?: string

    An explanation text below the widget shown in the editor

    entity?: string

    (for list) The name for a single entity in a list.

    (in lists only) defines a single field type in the list

    (in groups only) a list of field definitions

    important?: { description: string; example: string }

    A help text that can be collapsed.

    label?: string

    The text displayed in the editor for the entry.

    options?: any[] | { label: string }[]

    (for select) the options to choose from

    placeholder?: string

    The text displayed in a text box if the user has entered nothing so far.