Natively Pronounced Mandarin

    This package has been deprecated

    Author message:

    This component is deprecated

    @advanced-rest-client/saved-request-detail

    3.0.3 • Public • Published

    Published on NPM

    Build Status

    Published on webcomponents.org

    <saved-request-detail>

    Details applet for saved request object.

    Example:

    <saved-request-detail
      request='{"method":"GET","name":"Demo request","legacyProject":"some-id","url":"https://api.domain.com/endpoint","created":1532573782247}'
    ></saved-request-detail>

    Usage

    Installation

    npm install --save @advanced-rest-client/saved-request-detail
    

    In a LitElement

    import { LitElement, html } from 'lit-element';
    import './node_modules/@advanced-rest-client/saved-request-detail/saved-request-detail.js';
     
    class SampleElement extends LitElement {
      render() {
        return html`
        <saved-request-detail
          .request="${this.request}"
          @edit-request="${this._onEdit}"
          @delete-request="${this._onDelete}"
          @navigate="${this._onNavigate}"></saved-request-detail>
        `;
      }
     
      _onEdit() {
        ...
      }
     
      _onDelete() {
        ...
      }
     
      _onNavigate() {
        ...
      }
    }
    customElements.define('sample-element', SampleElement);

    Development

    git clone https://github.com/advanced-rest-client/saved-request-detail
    cd saved-request-detail
    npm install

    Running the tests

    npm test

    API components

    This components is a part of API components ecosystem

    Install

    npm i @advanced-rest-client/saved-request-detail

    DownloadsWeekly Downloads

    21

    Version

    3.0.3

    License

    Apache-2.0

    Unpacked Size

    52.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • carowright
    • jarrodek
    • twoplustwoone
    • lbauret