0.1.3 • Published 2 years ago

@scoped-elements/quill v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@scoped-elements/quill

This webcomponent follows the open-wc recommendation.

Installation

npm i @scoped-elements/quill

Usage

As an sub element in your own custom element

import { QuillSnow } from '@scoped-elements/quill';
import { ScopedElementsMixin } from '@open-wc/scoped-elements';

export class CustomElement extends ScopedElementsMixin(LitElement) {
  static get scopedElements() {
    return {
      'quill-snow': QuillSnow
    };
  }

  render() {
    return html`
      <quill-snow></quill-snow>
    `;
  }
}

As a globally defined custom element

import { QuillSnow } from '@scoped-elements/quill';

customElements.define('quill-snow', QuillSnow);

Documentation for the elements

As this package is just a re-export, you can find the documentation for Quill here. API documentation for is yet to be done.

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.3

2 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago