Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.86 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.86 KB

SebastiansIT select-image element

This web component is part of my personal collection SITWebComponents.

It allows you to select a image file from your local storage. The selected image is shown and can be craped as a data URL via Javascript.

Examples

You can see some examples as part of the demo page.

Documentation

  1. <sit-select-image>
  2. SelectImageElement
  3. ShadowDOM

Prerequisite

To use this element the user agent must have support for…

The most features listet here can transpiled to older javascript features or can be simulated with polyfills. But this is a Job for you.

To style the shadow DOM support for addidional features is needed:

For more information about styling see my documentation.

js-standard-style