• Removes expando data from this element. If key is provided, only its field is removed. If data is empty, also removes ExpandoStore from cache.

    Parameters

    • element: Element
    • Optionalname: string

      key of field to remove

    Returns void