MCPcopy
hub / github.com/prettier/prettier / printEventHandler

Function printEventHandler

src/language-html/embed/event-handler.js:18–24  ·  view source on GitHub ↗
(textToDoc, print, path /* , options*/)

Source from the content-addressed store, hash-verified

16
17/** @type {AttributeValuePrint} */
18const printEventHandler = (textToDoc, print, path /* , options*/) =>
19 formatAttributeValue(
20 getUnescapedAttributeValue(path.node),
21 textToDoc,
22 { parser: "babel", __isHtmlInlineEventHandler: true },
23 () => false,
24 );
25
26export { isEventHandler, printEventHandler };

Callers

nothing calls this directly

Calls 2

formatAttributeValueFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…