I've got component with some attributes. For example:
<aura:attribute name="missedCalls" type="List" access="global" /> <aura:attribute name="tryingToInitiateCall" type="Boolean" access="global" />
I do not know how many of them are in the component nor their names. I am trying to implement universal static resource logger.
So my question is: is it possible to iterate through all of them in the controller (get their names, values) and don't change anything in that component (adding class, id etc.).
I have tried
var attributes = $("aura:attribute");
, but it is not working.