<span class="ais-ReverseHighlight"><span class"ais-ReverseHighlight-nonHighlighted">This is the</span> <mark class="ais-ReverseHighlight-highlighted">reversed highlighted text</mark></span>
Hint: hover classes below to see their position.
name | description |
---|---|
.ais-ReverseHighlight | the root span of the widget |
.ais-ReverseHighlight-highlighted | the reverse highlighted text |
.ais-ReverseHighlight-nonHighlighted | the normal text |
Note: this is a guideline for new InstantSearch flavours, not a rule.
name | default value | description |
---|---|---|
highlightTag | mark | DOM tag to use for the reversed highlighted parts, in addition to the classes |
Note: there are no translations for this widget