You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attributes specified as strings (with “quotation marks”) are inserted into the DOM as attributes. For the most part, this eliminates the need for attributeBindings.
Angle bracket components do not support attrs at the top-level (the entire attrs proxy functionality is disabled).
I had to fix some components to read the params from this.attrs instead using this.get
<ion-headerid="ember447" class="ember-view bar bar-header bar-balanced"><divclass="h1 title">Header</div></ion-header>
Renders: (bad)
<ion-headerid="ember446" kind="balanced" class="ember-view bar bar-header"><divclass="h1 title">Header</div></ion-header>
which returns the kind argument as an attribute..so I guess the only valid way ( unless you don't use any argument ) is without the angle-bracket form, for now
The text was updated successfully, but these errors were encountered:
Hi there,
After this PR was merged emberjs/ember.js#11141
which introduced these changes:
I had to fix some components to read the params from
this.attrs
instead usingthis.get
With this change I could use the component in this form:
Renders: (good)
But using the angle-bracket form:
Renders: (bad)
which returns the
kind
argument as an attribute..so I guess the only valid way ( unless you don't use any argument ) is without the angle-bracket form, for nowThe text was updated successfully, but these errors were encountered: