A mixin with common methods for (legacy) projects list

Usage no npm install needed!

<script type="module">
  import advancedRestClientProjectsListConsumerMixin from 'https://cdn.skypack.dev/@advanced-rest-client/projects-list-consumer-mixin';


Published on NPM

Build Status

Published on webcomponents.org


A mixin with common methods for (legacy) projects list.

It is intended to be used in ARC components for saved requests list and for saved editor dialog.

API components

This components is a part of API components ecosystem



npm install --save @advanced-rest-client/projects-list-consumer-mixin

In a LitElement

import { LitElement, html } from 'lit-element';
import { ProjectsListConsumerMixin } from '@advanced-rest-client/projects-list-consumer-mixin/projects-list-consumer-mixin.js';

class SampleElement extends ProjectsListConsumerMixin(LitElement) {
  render() {
    return html`
    ${(this.projects || []).map((project) => html`...`)}
customElements.define('sample-element', SampleElement);


git clone https://github.com/advanced-rest-client/projects-list-consumer-mixin
cd projects-list-consumer-mixin
npm install

Running the tests

npm test