@eightshapes/esds-thumbnail
v0.5.2
Published
Install using npm: ``` npm install @eightshapes/esds-thumbnail ```
Downloads
21
Readme
ESDS Thumbnail
Install using npm:
npm install @eightshapes/esds-thumbnail
Outputs
The package contains:
/dist/esds-thumbnail-web-component.js
ES6 compatible web component definition for<esds-thumbnail>
./dist/esds-thumbnail-web-component-legacy.js
ES5 compatible web component definition for<esds-thumbnail>
. (IE11) Compatible with ES5 browsers (IE11)./dist/EsdsThumbnail.js
ES6 module that exports anEsdsThumbnail
Lit Element class. Use to define your own custom element tag:
import { EsdsThumbnail } from '@eightshapes/esds-thumbnail/dist/EsdsThumbnail.js';
customElements.define('aliased-thumbnail', EsdsThumbnail);
// Creates <aliased-thumbnail> tag
Running the dev environment locally
Refer to the ESDS Component Readme