Skip to content

michael-silva/yo-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<yo-image>

Published on webcomponents.org

A material file uploader with drag and drop

Example of usage

<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>

For developers

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ 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.

About

A polymer 2.0 component for a material file uploader with drag and drop

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages