Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Default Template

Code Block
breakoutModewide
languagehtml
<div class='link-list-facet'>
    <ul class='link-list-facet__list'>
        {{#each values}}
            {{#if visible}}
                <li class='link-list-facet__list__item'>
                    <a hawksearch-facet-value='{{value}}' class='facet__value'>
                        {{#if imageUrl}}
                            <img src="{{imageUrl}}" alt="{{title}}" title="{{title}}" class='facet__value__image' />
                        {{else}}
                            <span class='facet__value__title'>{{title}}</span>
                        {{/if}}
                        <span class='facet__value__count'>({{count}})</span>
                    </a>
                </li>
            {{/if}}
        {{/each}}
    </ul>
    {{#if showToggle}}
        <a hawksearch-facet-toggle class='facet__toggle'>{{toggleText}}</a>
    {{/if}}
</div>