README
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