html custom elements, web components for discogs
npm install discogs-elements> Work in progress
This is an attempt at creating discogs HTML web components in vanilla
javascript. It is using the latest browser features and should work
nativelly without the need of polyfill in modern browsers.
You can use them like this in any HTML document.
```
For them to work, you need to import the bit of javascript code in
which these elements and their behavior are defined.
You can import the script from a CDN or from the npm package if
your are in a npm project.
``
or:
``
Do not forget the type="module" on the script tag, otherwise you'llUncaught SyntaxError: Cannot use import statement
get an error
outside a module.
Examples can be found in the files index.html and test.html`.