@bridgeline-digital/hawksearch-handlebars-ui 1.0.0-beta.13 → 1.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom2.html +1 -1
- package/dist/handlebars-ui.js +1 -1
- package/dist/handlebars-ui.js.map +1 -1
- package/package.json +65 -65
package/dist/custom2.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><meta charset="utf-8"/><title>Hawksearch Demo (custom - override)</title><meta name="viewport" content="width=device-width,initial-scale=1"/><style>body{font-family:Arial,Helvetica,sans-serif;font-size:16px}.layout-container{margin:0 auto;min-width:340px;max-width:1280px}</style><script>var Hawksearch=Hawksearch||{};Hawksearch.config={clientId:"f51060e1c38446f0bacdf283390c37e8"
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"/><title>Hawksearch Demo (custom - override)</title><meta name="viewport" content="width=device-width,initial-scale=1"/><style>body{font-family:Arial,Helvetica,sans-serif;font-size:16px}.layout-container{margin:0 auto;min-width:340px;max-width:1280px}</style><script>var Hawksearch=Hawksearch||{};Hawksearch.config={clientId:"f51060e1c38446f0bacdf283390c37e8",templates:{pagination:'\n <div class="pagination">\n This is a custom pagination template. Display first item: <strong>{{displayFirstLink}}</strong>\n </div>\n ',searchResults:"search-results-template",searchResultsItem:"search-results-item-template",sorting:"sorting-template"}}</script><script defer="defer" src="handlebars-ui.js"></script></head><body><h1>Hawksearch Demo (custom - override)</h1><hawksearch-results></hawksearch-results><template id="search-results-template"><p>This is a custom search results template</p><hawksearch-sorting></hawksearch-sorting></template><template id="search-results-item-template"><div>Custom override: <strong>{{title}}</strong></div></template><template id="sorting-template"><p>This is a custom sorting template</p><div class="sorting"><select hawksearch-sort>{{#each options}} {{#if selected}}<option value="{{value}}" selected="selected">{{title}}</option>{{else}}<option value="{{value}}">{{title}}</option>{{/if}} {{/each}}</select></div></template></body></html>
|