We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be safe to wrap the render in a conditional so it won't output when nothing is added?
https://github.com/kaliber5/ember-stargate/blob/master/addon/components/portal-target.hbs
{{#if this.count}} <div {{did-insert this.register}} {{will-destroy this.unregister}} ...attributes > {{yield this.count}} </div> {{/if}
The text was updated successfully, but these errors were encountered:
Hm, I don't think this would work right now, as rendering into the portal target using in-element happens before the portal is registered (so count is still 0). See https://github.com/kaliber5/ember-stargate/blob/master/addon/components/portal.js#L11
in-element
count
Sorry, something went wrong.
No branches or pull requests
Would it be safe to wrap the render in a conditional so it won't output when nothing is added?
https://github.com/kaliber5/ember-stargate/blob/master/addon/components/portal-target.hbs
The text was updated successfully, but these errors were encountered: