Function collectProperties

  • Attempts to collect the properties of the table through 2 methods:

    • Checks if a <thead> element exists, and uses the text content of each <th> elements as the property name.
    • Otherwise, it loops through the first <tr> element and uses the text content of each <th> element as the property name.

    Parameters

    • table: HTMLTableElement

    Returns string[]

Generated using TypeDoc