@advanced-rest-client/arc-settings-panel-mixin
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-preview.3 • Public • Published

Published on NPM

Build Status

Published on webcomponents.org

arc-settings-panel-mixin

A mixin to be applied to settings panel. Contains common methods to get and update settings

API components

This components is a part of API components ecosystem

Usage

Installation

npm install --save @advanced-rest-client/arc-settings-panel-mixin

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import {ArcSettingsPanelMixin} from '@advanced-rest-client/arc-settings-panel-mixin/arc-settings-panel-mixin.js';
import '@advanced-rest-client/arc-settings-panel-mixin/arc-settings-panel-styles.js';

class SampleElement extends ArcSettingsPanelMixin(PolymerElement) {
  static get template() {
    return html`
    <style include="arc-settings-panel-styles"></style>
    <h1>Settings panel</h1>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Installation

git clone https://github.com/advanced-rest-client/arc-settings-panel-mixin
cd api-url-editor
npm install
npm install -g polymer-cli

Running the tests

polymer test --npm

Readme

Keywords

Package Sidebar

Install

npm i @advanced-rest-client/arc-settings-panel-mixin

Weekly Downloads

2

Version

3.0.0-preview.3

License

Apache-2.0

Unpacked Size

19.5 kB

Total Files

7

Last publish

Collaborators

  • carowright
  • jarrodek
  • twoplustwoone
  • lbauret