Sign up (with export icon)

utils/dom/getdatafromelement

Api-module icon module

Functions

  • Chevron-right icon

    getDataFromElement( el ) → string

    Gets data from a given source element.

    Parameters

    el : HTMLElement

    The element from which the data will be retrieved.

    Returns

    string

    The data string.