• Sets attributes of an element

    Parameters

    • el: Element

      Element to set attributes of

    • attrs: Record<string, any>

      Attributes object

    • clear: boolean = false

      If true, all element attributes will be cleared

    Returns void

Generated using TypeDoc