domutils
    Preparing search index...

    Function getAttributeValue

    • Gets an attribute from an element.

      Parameters

      • elem: Element

        Element to check.

      • name: string

        Attribute name to retrieve.

      Returns undefined | string

      The element's attribute value, or undefined.