šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@advanced-rest-client/saved-list-mixin

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advanced-rest-client/saved-list-mixin

A mixin to be applied to a list that renders saved requests.

3.0.3
latest
Source
npm
Version published
Weekly downloads
3
-66.67%
Maintainers
3
Weekly downloads
Ā 
Created
Source

Published on NPM

Build Status

Published on webcomponents.org

saved-list-mixin

A mixin to be applied to a list that renders saved requests in Advanced REST Client.

Usage

Installation

npm install --save @advanced-rest-client/saved-list-mixin

In a LitElement

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

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

Inject modelTemplate into the shadow DOM to initialize data models.

Development

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

Running the tests

npm test

API components

This components is a part of API components ecosystem

Keywords

api-components

FAQs

Package last updated on 31 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts