@advanced-rest-client/legacyproject-related-requestsdeprecated

Computes a list of requests related to a project

Usage no npm install needed!

<script type="module">
  import advancedRestClientLegacyprojectRelatedRequests from 'https://cdn.skypack.dev/@advanced-rest-client/legacyproject-related-requests';
</script>

README

Published on NPM

Build Status

Published on webcomponents.org

legacyproject-related-requests

Computes a list of requests related to a (legacy) project. It is an internal ARC component to read request data.

Example:

<legacyproject-related-requests></legacyproject-related-requests>

Usage

Installation

npm install --save @advanced-rest-client/legacyproject-related-requests

In a LitElement

import { LitElement, html } from 'lit-element';
import '@advanced-rest-client/legacyproject-related-requests/legacyproject-related-requests.js';

class SampleElement extends PolymerElement {
  render() {
    return html`
    <legacyproject-related-requests
      .projectId="${this.projectId}"
      @data="${this._requestsHandler}"></legacyproject-related-requests>
    `;
  }

  _requestsHandler(e) {
    this.requests = e.detail.value;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/legacyproject-related-requests
cd legacyproject-related-requests
npm install

Running the tests

npm test

API components

This components is a part of API components ecosystem