@advanced-rest-client/cookies-list-itemsdeprecated

An element to display a list of cookies

Usage no npm install needed!

<script type="module">
  import advancedRestClientCookiesListItems from 'https://cdn.skypack.dev/@advanced-rest-client/cookies-list-items';
</script>

README

Published on NPM

Build Status

Published on webcomponents.org

<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