@advanced-rest-client/projects-menu
v3.0.0-preview.1
Published
A list of history items in the ARC main menu
Downloads
5
Readme
projects-menu
A list of saved request items in the ARC main menu
<projects-menu></projects-menu>
API components
This components is a part of API components ecosystem
Usage
Installation
npm install --save @advanced-rest-client/projects-menu
In an html file
<html>
<head>
<script type="module">
import '@advanced-rest-client/projects-menu/projects-menu.js';
</script>
</head>
<body>
<projects-menu></projects-menu>
</body>
</html>
In a Polymer 3 element
import {PolymerElement, html} from '@polymer/polymer';
import '@advanced-rest-client/projects-menu/projects-menu.js';
class SampleElement extends PolymerElement {
static get template() {
return html`
<projects-menu></projects-menu>
`;
}
}
customElements.define('sample-element', SampleElement);
Installation
git clone https://github.com/advanced-rest-client/projects-menu
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