Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Add <content></content> to allow content injection in paper-input#47

Open
mobula wants to merge 1 commit into
cheonhyangzhang:masterfrom
mobula:add-content-tag
Open

Add <content></content> to allow content injection in paper-input#47
mobula wants to merge 1 commit into
cheonhyangzhang:masterfrom
mobula:add-content-tag

Conversation

@mobula
Copy link
Copy Markdown

@mobula mobula commented Jul 26, 2017

A small change that allows injecting custom content.
See for instance paper-tags-typeahead prototype created by combining paper-typeahead with PolymerEl/paper-tags.

@cheonhyangzhang
Copy link
Copy Markdown
Owner

@mobula
Can you explain what's the use case for this?

@mobula
Copy link
Copy Markdown
Author

mobula commented Jul 28, 2017

My use case was to combine typeahead with a tags component such as paper-tags. you type and get suggestions as if you were using typeahead, but if you select the component, it becomes a tag. and so on.

<paper-typeahead-tags>
   <paper-typeahead-input>
      <paper-tags>...</paper-tags>
   </paper-typeahead-input>
</paper-typeahead-tags>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants