fliptables / bcjs

0 stars 0 forks source link

Replace HTML instead of appending Canvas element #15

Closed getnashty closed 9 years ago

getnashty commented 9 years ago

I'm trying to let the publisher show a loading icon before the chart appears...

So I figure, for this element

<div class="bc_chart" data-bc-chart...

we can just replace whatever HTML might be inside - with the Canvas element, instead of appending the element.