Skip to content
New issue

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

Could we have callback after rendering? #47

Open
YozhEzhi opened this issue Apr 7, 2017 · 0 comments
Open

Could we have callback after rendering? #47

YozhEzhi opened this issue Apr 7, 2017 · 0 comments

Comments

@YozhEzhi
Copy link

YozhEzhi commented Apr 7, 2017

It would be great if we could to add custom elements at the end of generated items.
For example:

<div class="autocomplete-suggestions suggestions">
  <div class="autocomplete-suggestion" data-val="iphone 7">iphone 7</div>
  <div class="autocomplete-suggestion" data-val="iphone 6">iphone 6</div>
  <div class="autocomplete-suggestion" data-val="iphone 5s">iphone 5s</div>
  <div class="autocomplete-suggestion" data-val="iphone se">iphone se</div>
  <div class="autocomplete-suggestion" data-val="iphone">iphone</div>
  <div class="my-custom-permanent-element">Press Enter to search</div>
</div>

I want to use my-custom-permanent-element - as help text.
So I think we need ability to add custom non-interactive items or we need a callback, that will be fired after list items rendering.
Thanks!

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

No branches or pull requests

1 participant