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

      • [keyof: string]: string

    Returns void

Generated using TypeDoc