LeaVerou / awesomplete

Ultra lightweight, usable, beautiful autocomplete with zero dependencies.

Home Page:http://leaverou.github.io/awesomplete/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] Custom container and ability to share same <ul> rather than create new identical

DRocksCoding opened this issue · comments

Hello and thanks for the widget.

I love it and would like to know if it's possible to re-use / share a same ul tag for a custom container.

Context: I instantiate one awesomplete per table td cells of a certain type/column.
I'd like to share an identical array list so that awesomplete wouldn't need to create a new copy of the same ul in the custom container.
I don't know if this would conflict with the internals but it would make more sense in this particular scenario.
Currently, a new ul tag will be added inside my awesomplete custom container so there are copies of the same ul content for each td cells of that type.

Would it be possible to point new Awesomplete instances to an existing ul in our custom container?
Can any one please give me some tips on this?

Thanks in advance for your time.
Alex