README
<cookies-list-items>
A component to render a list of cookies.
Usage
Installation
npm install --save @advanced-rest-client/cookies-list-items
In a LitElement
import { LitElement, html } from 'lit-element';
import '@advanced-rest-client/arc-menu/cookies-list-items.js';
class SampleElement extends LitElement {
render() {
return html`
<cookies-list-items
?compatibility="${this.compatibility}"
?outlined="${this.outlined}"
.listType="${this.listType}"
.items="${this.cookies}"
@list-items-delete="${this._onDelete}"
@list-items-export="${this._onExport}"
@list-items-search="${this._onSearch}"
@list-item-details="${this._onDetails}"
></cookies-list-items>
`;
}
}
customElements.define('sample-element', SampleElement);
Development
git clone https://github.com/advanced-rest-client/cookies-list-items
cd cookies-list-items
npm install
Running the demo locally
npm start
Running the tests
npm test
API components
This components is a part of API components ecosystem