MCPcopy
hub / github.com/niklasvh/html2canvas / constructor

Method constructor

src/css/index.ts:280–283  ·  view source on GitHub ↗
(context: Context, declaration: CSSStyleDeclaration)

Source from the content-addressed store, hash-verified

278 counterReset: ReturnType<typeof counterReset.parse>;
279
280 constructor(context: Context, declaration: CSSStyleDeclaration) {
281 this.counterIncrement = parse(context, counterIncrement, declaration.counterIncrement);
282 this.counterReset = parse(context, counterReset, declaration.counterReset);
283 }
284}
285
286// eslint-disable-next-line @typescript-eslint/no-explicit-any

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected