Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improvements to paper-icon #271

Conversation

SaladFork
Copy link
Contributor

  • Adds tests for paper-icon (previously untested)
  • Adds positionalParam support so you can now do {{paper-icon "check"}} in addition to {{paper-icon icon="check"}}

This prevents an error when trying to compute iconClass when no icon is
passed to the component.
Ideally we wouldn't need a separate `positionalIcon` property and could
just use `icon`, but this is not permitted (see emberjs/ember.js#12350)
@SaladFork SaladFork force-pushed the feature/paper-icon-positional-params branch from ec2af85 to d3ed897 Compare January 28, 2016 04:25
@miguelcobain
Copy link
Collaborator

Excellent. Thanks.

miguelcobain added a commit that referenced this pull request Jan 28, 2016
@miguelcobain miguelcobain merged commit 4f24454 into adopted-ember-addons:master Jan 28, 2016
@miguelcobain
Copy link
Collaborator

Can you please add an entry in CHANGELOG.md?

@SaladFork
Copy link
Contributor Author

Yup, will do.

@SaladFork SaladFork deleted the feature/paper-icon-positional-params branch February 1, 2016 15:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants