MCPcopy Create free account
hub / github.com/api-platform/website / onVisitHighlightedWord

Function onVisitHighlightedWord

pwa/next.config.mjs:118–121  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

116 node.properties.className.push("highlighted");
117 },
118 onVisitHighlightedWord(node) {
119 // Each word node has no className by default.
120 node.properties.className = ["word"];
121 },
122};
123
124/** @type {import('next').NextConfig} */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected