3.0.0 • Published 5 years ago

@advanced-rest-client/variables-drawer-editor v3.0.0

Weekly downloads
11
License
Apache-2.0
Repository
github
Last release
5 years ago

Published on NPM

Build Status

Published on webcomponents.org

variables-drawer-editor

A drawer like element to display variables editor.

Usage

Installation

npm install --save @advanced-rest-client/variables-drawer-editor
import { LitElement, html } from 'lit-element';
import '@advanced-rest-client/variables-drawer-editor/variables-drawer-editor.js';
import '@advanced-rest-client/variables-manager/variables-manager.js';
import '@advanced-rest-client/variables-evaluator/variables-evaluator.js';
import '@advanced-rest-client/arc-models/variables-model.js';

class SampleElement extends LitElement {
  render() {
    return html`
    <variables-editor></variables-editor>

    <variables-model></variables-model>
    <variables-manager></variables-manager>
    <variables-evaluator jexl-path="..."></variables-evaluator>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/variables-drawer-editor
cd variables-drawer-editor
npm install

Running the demo locally

npm start

Running the tests

npm test

API components

This components is a part of API components ecosystem