You need to sign in to do that
Don't have an account?

What does attribute 'data-aura-rendered-by' do exactly?
I'm noticing when I use the Lightning Design System it's tacking on a aura class and a 'data-aura-rendered-by' attribute. What does this do?
Thanks.
Thanks.
If I inspect lightning button from
Internal user it is like: <button class="slds-button slds-button--neutral btn btn-default btn-xs pull-right" type="button" data-aura-rendered-by="1429:0"><!--render facet: 1430:0-->Add Reason Code<!--render facet: 1433:0--></button>
External user it is like: <button class="slds-button slds-button--neutral btn btn-default btn-xs pull-right" type="button" data-aura-rendered-by="function r(f){/in/.test(document.readyState)?setTimeout('r('+f+')',9):f()}"><!--render facet: 1407:0-->Add Reason Code<!--render facet: 1410:0--></button>
Please give reply if you have experienced the same.
Second element belong to tab1.
Both are present in the dom but only one is rendered by clicking on its console tab.
I need to identify only rendered elements.
I can find plenty of resources that discuss the rendering as seen in the Developers Console, but can't find anything about what those numbers mean on the other side.
The second number does seem to stay the same for the data element consistently, but does not always seem to stay the same on re-publishing or reloading.