SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 80 JavaScript

Add support for detached canvas element (#4591)

Allow to create a chart on a canvas not yet attached to the DOM (detection based on CSS animations described in https://davidwalsh.name/detect-node-insertion). The resize element (IFRAME) is added only when the canvas receives a parent or when `style.display` changes from `none`. This change also allows to re-parent the canvas under a different node (the resizer element following). This is a preliminary work for the DIV based resizer.
S
Simon Brunel committed
f90ee8c786c24e44a252964c74970382d9c39016
Parent: 97e2373
Committed by GitHub <noreply@github.com> on 8/1/2017, 12:28:45 PM