@lesjoursfr/browser-tools
    Preparing search index...

    Function resetAttributesTo

    • Reset all node's attributes to the given list.

      Parameters

      • node: HTMLElement

        the node

      • targetAttributes: { [keyof: string]: string }

        the requested node's attributes

      Returns void