2.0.0 • Published 4 years ago

lrtiste v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

CircleCI

lrtiste

Common widgets built with native web components (no extra lib or framework) and with accessibility in mind. Based on the wai-aria authoring recommendations

Usage

Installation

npm install --save lritste

Getting Started

You'll need first to register the component with namespace of your choice. Then simply add the tags in your markup

<ui-listbox>
    <ui-listbox-option selected>option 1</ui-listbox-option>
    <ui-listbox-option>option 2</ui-listbox-option>
    <ui-listbox-option>option 3</ui-listbox-option>
    <ui-listbox-option>option 4</ui-listbox-option>
</ui-listbox>

<script type="module" async>
import {ListBox, ListBoxOption} from 'path/to/lib';
customElements.define('ui-listbox',ListBox);
customElements.define('ui-listbox-option',ListBoxOption);
</script>

With framework X

All these web components can be configured and updated with attributes which make it very easy to integrate with any vue engine (such React for example)

2.0.0

4 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago