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. It listens to the QueryStore and only renders its slotted content if a change has occurred.


Usage

Use the default <slot> to pass in content:

<lens-search-modified-display>
    <b>You have unsaved changes. Please click "Search" to update results.</b>
</lens-search-modified-display>

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;
}