Skip to content

Conversation

@tylerturdenpants
Copy link
Collaborator

fixes #207

@tylerturdenpants tylerturdenpants changed the title fix link-to with html-attributes [WIP] fix link-to with html-attributes Dec 27, 2019
let [_, secondParamInput] = params;
if (secondParamInput.type === 'SubExpression') {
let htmlAttrs;
if (secondParamInput.path.original === 'html-attributes') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we should do this only for the second param. The addon works for any param AFAIK. Seems like it also only works for LinkTo here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I thought it would be a good idea if I included you in the discussion as I worked on it so I could get your feedback. I only had enough time yesterday to tackle a little bit of the problem. 😄

@Turbo87 Turbo87 added enhancement New feature or request and removed wip labels Dec 30, 2019
@Turbo87 Turbo87 changed the title [WIP] fix link-to with html-attributes WIP: Add support for ember-component-attributes addon Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for ember-component-attributes addon

3 participants