ENGLISH·COURSE API
    Preparing search index...

    Module

    domain/entities/learner-profile/learner-profile

    Type Aliases

    LearnerAvatar

    What the learner's avatar shows: the initials derived from their name, or one of the shipped illustrations.

    LearnerProfile

    Who is learning on this device: a name and an avatar.

    Variables

    LEARNER_NAME_MAX_LENGTH

    Longest name a learner card can hold. Long enough for a first and last name in any of the supported languages, short enough to fit the card on a phone.

    LEARNER_ILLUSTRATION_IDS

    The eight illustrations a learner can wear instead of their initials.

    LearnerAvatar

    What the learner's avatar shows: the initials derived from their name, or one of the shipped illustrations.

    LearnerProfile

    Who is learning on this device: a name and an avatar.

    Functions

    learnerInitials

    The letters an initials avatar shows: the first letter of the first word, followed by the first letter of the last word when there is more than one.

    learnerFirstName

    The first word of the learner's name — what a greeting calls them.