A small web component for demoing other web/HTML components. Displays component and renders it's HTML.
npm install @sneas/x-ray
Probably, the easiest way to demo HTML/Web components.
Demo: https://sneas.github.io/x-ray
``html`
`sh`
npm install @sneas/x-ray --save
Add import within the root component:
`js`
import '@sneas/x-ray';
`html`
Holy guacamole! You should check out the code of this
alert component below.
type="button"
class="close"
data-dismiss="alert"
aria-label="Close"
>
⚠️ Make sure the code has been wrapped with ` tag.
The result of the code from above: