Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Search Modified Display

<lens-search-modified-display> displays a visual cue when the current query has been modified:

Screenshot of the query modified component

Usage

Include it like this:

<lens-search-modified-display></lens-search-modified-display>

You can customize the text using translations:

"texts": {
    "query_modified": {
        "en": "My custom text"
    }
}

Styling

Part NameDescription
lens-query-modified-display-wrapperWraps the content and applies border and spacing

Example

lens-search-modified-display::part(lens-query-modified-display-wrapper) {
    background-color: var(--light-orange);
    color: var(--dark-orange);
    font-weight: bold;
}