3.0.0-preview.2 • Published 6 years ago
@advanced-rest-client/arc-data-settings-panel v3.0.0-preview.2
<arc-data-settings-panel>
A user data related settings panel for Advanced REST Client.
<arc-data-settings-panel></arc-data-settings-panel>
API components
This components is a part of API components ecosystem
Usage
Installation
npm install --save @advanced-rest-client/arc-data-settings-panel
In an html file
<html>
<head>
<script type="module">
import '@advanced-rest-client/arc-data-settings-panel/arc-data-settings-panel.js';
</script>
</head>
<body>
<arc-data-settings-panel rest-apis></arc-data-settings-panel>
</body>
</html>
In a Polymer 3 element
import {PolymerElement, html} from '@polymer/polymer';
import '@advanced-rest-client/arc-data-settings-panel/arc-data-settings-panel.js';
class SampleElement extends PolymerElement {
static get template() {
return html`
<arc-data-settings-panel rest-apis></arc-data-settings-panel>
`;
}
_authChanged(e) {
console.log(e.detail);
}
}
customElements.define('sample-element', SampleElement);
Installation
git clone https://github.com/advanced-rest-client/arc-data-settings-panel
cd api-url-editor
npm install
npm install -g polymer-cli
Running the demo locally
polymer serve --npm
open http://127.0.0.1:<port>/demo/
Running the tests
polymer test --npm
3.0.0-preview.2
6 years ago
3.0.0-preview.1
6 years ago