0.0.1 • Published 8 months ago

@qomponent/qui-dot v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

qui-dot

A Lit-based web component to show dot files

Installation

npm i @qomponent/qui-dot

Usage

import { LitElement, html, css } from 'lit';
import '@qomponent/qui-dot';

class MyMainComponent extends LitElement {

  constructor() {
    super();
  }

  render() {
    return html`<qui-dot dot="digraph { Hello -> World }"></qui-dot>
    `;
  }
}

customElements.define('my-main-component', MyMainComponent);

Example

To run the example:

npm install
npm start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache 2

0.0.1

8 months ago