Options
All
  • Public
  • Public/Protected
  • All
Menu

The GlobalWordList class loads the global word list and maintains user's word list.

Hierarchy

  • GlobalWordList

Index

Methods

addUserWord

  • addUserWord(word: string): boolean
  • Parameters

    • word: string

    Returns boolean

deleteUserWord

  • deleteUserWord(word: string): boolean
  • Parameters

    • word: string

    Returns boolean

getGlobalWords

  • getGlobalWords(): Array<string>
  • Returns a string array of the words that we have audio for.

    Returns Array<string>

    The full global list of words

getUserWords

  • getUserWords(): Array<string>
  • Returns a string array of the user's personal list.

    Returns Array<string>

    The user's personal list of words

getWordData

  • getWordData(word: string): any
  • Parameters

    • word: string

    Returns any