Skip to content

Ability to yield in the component.#57

Closed
Kilowhisky wants to merge 1 commit intobtecu:masterfrom
Kilowhisky:add-yield
Closed

Ability to yield in the component.#57
Kilowhisky wants to merge 1 commit intobtecu:masterfrom
Kilowhisky:add-yield

Conversation

@Kilowhisky
Copy link
Copy Markdown

This adds the ability to yield a block inside the component input-group that way additional input-group-addons can be specified at the beginning of the input.

This is useful for extending the capabilities of the component without overriding the hbs file.

Example.

image

@btecu
Copy link
Copy Markdown
Owner

btecu commented Sep 18, 2018

What if someone else needs to add something on the right side as opposed to the left side?

@Kilowhisky
Copy link
Copy Markdown
Author

Until named yield blocks (emberjs/rfcs#226) are a thing there is nothing that can be done about it.

Anyways i decided not to use this plugin so use it or close it.

@btecu btecu closed this Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants