ESDS Code Snippet
Install using npm:
npm install @eightshapes/esds-code-snippet
Outputs
The package contains:
-
/dist/esds-code-snippet-web-component.js
ES6 compatible web component definition for<esds-code-snippet>
.-
/dist/EsdsCodeSnippet.js
ES6 module that exports anEsdsCodeSnippet
Lit Element class. Use to define your own custom element tag:
import { EsdsCodeSnippet } from '@eightshapes/esds-code-snippet/dist/EsdsCodeSnippet.js'; customElements.define('aliased-code-snippet', EsdsCodeSnippet); // Creates <aliased-code-snippet> tag
Refer to the ESDS Component Readme
-