MCPcopy Create free account
hub / github.com/alignoth/alignoth / initialize

Method initialize

resources/vega.min.js:14514–14526  ·  view source on GitHub ↗
(t, e, n, r, i, o)

Source from the content-addressed store, hash-verified

14512 (this._tempb = new Vg()));
14513 }
14514 initialize(t, e, n, r, i, o) {
14515 return (
14516 (this._options = o || {}),
14517 (this._canvas = this._options.externalContext
14518 ? null
14519 : Sc(1, 1, this._options.type)),
14520 t &&
14521 this._canvas &&
14522 (iv(t, 0).appendChild(this._canvas),
14523 this._canvas.setAttribute("class", "marks")),
14524 super.initialize(t, e, n, r, i)
14525 );
14526 }
14527 resize(t, e, n, r) {
14528 if ((super.resize(t, e, n, r), this._canvas))
14529 Ov(

Callers

nothing calls this directly

Calls 3

ivFunction · 0.85
ScFunction · 0.70
initializeMethod · 0.45

Tested by

no test coverage detected