MCPcopy Create free account
hub / github.com/chartjs/Chart.js / isAttached

Method isAttached

src/platform/platform.base.js:72–74  ·  view source on GitHub ↗

* @param {HTMLCanvasElement} canvas * @returns {boolean} true if the canvas is attached to the platform, false if not.

(canvas)

Source from the content-addressed store, hash-verified

70 * @returns {boolean} true if the canvas is attached to the platform, false if not.
71 */
72 isAttached(canvas) { // eslint-disable-line no-unused-vars
73 return true;
74 }
75
76 /**
77 * Updates config with platform specific requirements

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected