Table of Contents

Class HighlightRegistry

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The HighlightRegistry interface of the CSS Custom Highlight API is used to register Highlight objects to be styled using the API.
It is accessed via Highlights.

[Value("HighlightRegistry")]
public class HighlightRegistry
Inheritance
HighlightRegistry
Inherited Members

Remarks

A HighlightRegistry instance is a Map-like object, in which each key is the name string for a custom highlight, and the corresponding value is the associated Highlight object.

-{{domxref("css_custom_highlight_api", "The CSS Custom Highlight API", "", "nocode")}}
-CSS custom highlight API module
-CSS Custom Highlight API: The Future of Highlighting Text Ranges on the Web

See also on MDN

Constructors

HighlightRegistry()

public HighlightRegistry()