A material file uploader with drag and drop
<style>
#result1 {
display: block;
width: 250px;
height: 350px;
margin: auto;
}
</style>
<img id="result1" src="http://via.placeholder.com/250x350">
<yo-image target="#result1">
<button confirm-crop>Confirm crop</button>
<button cancel-crop>Cancel</button>
</yo-image>
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your element locally.
$ polymer serve
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.