Amazon Vinyl
    Preparing search index...

    Function setClassToken

    • Adds or removes a class token to an element.

      Parameters

      • value: HTMLElement

        The element whose classList to modify.

      • token: string

        The class token.

      • toggled: boolean

        If true, the token is added, if false, removed.

      Returns void