@aws-amplify/analytics
Version:
Analytics category of aws-amplify
12 lines (11 loc) • 443 B
TypeScript
/**
* Copyright (c) 2017, Philip Walton <philip@philipwalton.com>
*/
/**
* Gets all attributes of an element as a plain JavaScriot object.
* @param {Element} element The element whose attributes to get.
* @return {!Object} An object whose keys are the attribute keys and whose
* values are the attribute values. If no attributes exist, an empty
* object is returned.
*/
export declare function getAttributes(element: any): {};