How to use the @lumino/virtualdom.h.mark function in @lumino/virtualdom

To help you get started, we’ve selected a few @lumino/virtualdom examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyterlab / lumino / packages / widgets / src / commandpalette.ts View on Github external
formatHeader(data: IHeaderRenderData): h.Child {
      if (!data.indices || data.indices.length === 0) {
        return data.category;
      }
      return StringExt.highlight(data.category, data.indices, h.mark);
    }

@lumino/virtualdom

Lumino Virtual DOM

BSD-3-Clause
Latest version published 10 months ago

Package Health Score

82 / 100
Full package analysis

Similar packages