element-easel
v1.0.6
Published
Wrap an element. Paint on it.
Downloads
3
Maintainers
Readme
React custom element boilerplate
Try it with pressure-sensitive tablet or phone. It's fun!
<!-- Custom Elements v1 polyfill (2.7KB gzipped) -->
<script src="https://unpkg.com/@webcomponents/[email protected]"></script>
<!-- Our custom element's source -->
<script src="https://unpkg.com/[email protected]"></script>
<element-easel stroke="red" stroke-width="5">
<div>
My stuff
</div>
</element-easel>