JSFiddle - React, Tailwind, and code Playground

by NetsydeMiro

HTML

<script src="https://rawgithub.com/jasonday/printThis/master/printThis.js"></script>
<body>
<input type="button" value="print" />
<div id="print">
this is print area, it can be everything. this is print area, it can be everything.this is print area, it can be everything. this is print area, it can be everything.
</div>
</body>

JavaScript

$(function () { 
$("input:button").click(function () {
$("#print").printThis();
});
});