This package has been deprecated

Author message:

This element is deprecated. Use @advanced-rest-client/arc-ie instead

@advanced-rest-client/projects-list-consumer-mixin
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

Published on NPM

Build Status

Published on webcomponents.org

projects-list-consumer-mixin

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

Usage

Installation

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);

Development

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

Running the tests

npm test

Dependents (3)

Package Sidebar

Install

npm i @advanced-rest-client/projects-list-consumer-mixin

Weekly Downloads

2

Version

3.0.1

License

Apache-2.0

Unpacked Size

14 kB

Total Files

5

Last publish

Collaborators

  • carowright
  • jarrodek
  • twoplustwoone
  • lbauret