• Add a character from a string to an element with a delay time

    Parameters

    • element: HTMLElement

      The element to add the character

    • string: string

      The string with the characters

    • delay: number

      The delay time between each character added

    • prefig: string = ""

    Returns void

Generated using TypeDoc