<span class="ais-ReverseSnippet"><span class="ais-ReverseSnippet-nonHighlighted">This is the</span> <mark class="ais-ReverseSnippet-highlighted">reversed snippet text</mark></span>
Hint: hover classes below to see their position.
name | description |
---|---|
.ais-ReverseSnippet
|
the root span of the widget |
.ais-ReverseSnippet-highlighted
|
the reverse snippet text |
.ais-ReverseSnippet-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