user1611830
user1611830

Reputation: 4857

Accessing html inside canvas

I am following this tutorial chart.js and I want to access the html inside the canvas tag but I don't see any in my console, and so I can't access it. How can it be ?

Upvotes: 0

Views: 157

Answers (1)

Diodeus - James MacFarlane
Diodeus - James MacFarlane

Reputation: 114347

Canvas, unlike SVG, is a bitmap write-only object. It contains no HTML. It's "write and forget".

Updates are made via complete redraw. There's nothing to see but the output.

Upvotes: 2

Related Questions