As described here, using ember.js, this code:
{{#each}}
<div>
<h1>{{MyComponent}}</h1>
</div>
{{/each}}
renders something like:
<div id="ember180" class="ember-view">
<h1>My Component here</h1>
</div>
I'm interested in:
- How does ember decide which element would get a generated id?
- How does the id itself get generated?
- Is there any way to guarantee that the same element will always get the same id? (currently I'm seeing it changes every time)
Aucun commentaire:
Enregistrer un commentaire