@vanillawc/wc-demo

A vanilla web component to demo vanilla web components


Keywords
web-components, vanilla, demo
License
MIT
Install
npm install @vanillawc/wc-demo@1.1.30

Documentation

GitHub Releases NPM Release Downloads MIT License Published on WebComponents.org Latest Status Release Status

A vanilla web component to demo vanilla web components


Installation

npm i @vanillawc/wc-demo

Then import the index.js file at the root of the package.


Usage

Attributes

  • title - the demo title
  • link - link to the demo's GitHub repo
  • desc - the demo's description
  • src - path to the demo source file

Load an external Markdown file using the src attribute

<wc-demo title="WC-Demo" link="https:/github.com/vanillawc/wc-demo" desc="Basic Usage" src="assets/demo.html"></wc-demo>

Demo

WC-Demo-Demo - WebComponents.dev