configurator: Configuration Options List for mark.js API

Description Usage Format Details

Description

All API options for mark.j v8.11.1, excluding the callback functions: each, filter, noMatch, and done.

Usage

1

Format

List with 15 named elements.

element

Element tag to wrap matches, default is "mark".

className

Class named appended to the match element, default is "".

exclude

Vector of element selectors to exclude from match, default is c().

accuracy

Match algorithm ("partially", "complementary", or "exactly"), default is "partially". (see mark.js API for more details).

synonyms

List of key-value pairs to consider equivalent, default is list().

ignorePunctuation

Vector of punctuation marks to ignore, default is c().

wildcards

Matching using wildcards such as "?" and "*" ("disabled", "enabled", or "withSpaces"), default is "disabled" (see mark.js API for more details).

iframes

Search within iframe elements, default is FALSE.

iframesTimeout

Maximum time (in ms) to wait for load before skipping an iframe element, default is 5000.

seperateWordSearch

Search for each space-seperated word instead of the complete input, default is TRUE.

diacritics

Match using diacritic characters, default is TRUE.

acrossElements

Search for matches across elements, default is FALSE.

caseSensitive

Case sensitive matching, default is FALSE.

ignoreJoiners

Skip soft hyphen, zero width space, zero width non-joiner and zero width joiner, default is FALSE.

debug

Print debug information to the brower's console, default is FALSE.

Details

See the mark.js API for a detailed description of each option. Also see the mark.js Configurator for these options in action.


shinySearchbar documentation built on July 1, 2020, 11:10 p.m.