Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Before and after results wrapper? #16

Closed
daviddarnes opened this issue Nov 2, 2014 · 3 comments
Closed

Before and after results wrapper? #16

daviddarnes opened this issue Nov 2, 2014 · 3 comments

Comments

@daviddarnes
Copy link
Contributor

Noticed the new version shows results in a list, does this mean that there's an option for a container on just the results?

@christian-fei
Copy link
Owner

I don't quite get your question.
It's the same as in the previous version:
You put a container for the search results in your HTML

<ul id="results-container"></ul>

in your markup, and reference it from the library through the resultsContainer property of the library (you pass it to the options hashmap of the init function).

Hope that I was clear.

@daviddarnes
Copy link
Contributor Author

Your previous version hasn't got a resultsContainer, just an option to select which element will contain the whole block.

@christian-fei
Copy link
Owner

indeed, it was named differently, but the concept is the same. a container into which the search results will be rendered in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants