Skip to content

Instantly share code, notes, and snippets.

View roam-lucky-idea.js
var randomButton = document.querySelector('#random-button');
if (randomButton != null) {
randomButton.parentNode.removeChild(randomButton);
}
function getEventHandlers(element) {
for (var prop in element) {
if (prop.includes('reactEventHandlers')) {
return element[prop];
}
}
@steveyang331
steveyang331 / index.html
Created Mar 18, 2020
Visualising a CSV file with Chart.js (basic)
View index.html
<div id="wrapper">
<canvas id="chart"></canvas>
</div>