MCPcopy
hub / github.com/alam00000/bentopdf / createElement

Method createElement

public/pdfjs-viewer/pdf.mjs:16133–16138  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

16131 return svg;
16132 }
16133 createElement(type) {
16134 if (typeof type !== "string") {
16135 throw new Error("Invalid SVG element type");
16136 }
16137 return this._createSVG(type);
16138 }
16139 _createSVG(type) {
16140 unreachable("Abstract method `_createSVG` called.");
16141 }

Callers 15

createSanitizedElementFunction · 0.80
#createSVGElementMethod · 0.80
downloadFunction · 0.80
_addToggleButtonMethod · 0.80
renderMethod · 0.80
constructorMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
getXfaHtmlForPrintingFunction · 0.80
constructorMethod · 0.80
layoutMethod · 0.80

Calls 1

_createSVGMethod · 0.95

Tested by 2

createPageWrapperFunction · 0.64