README
websocket-history
A web socket connections history view for ARC.
Example:
<websocket-history></websocket-history>
API components
This components is a part of API components ecosystem
Usage
Installation
npm install --save @advanced-rest-client/websocket-history
In an html file
<html>
<head>
<script type="module">
import '@advanced-rest-client/websocket-history/websocket-history.js';
</script>
</head>
<body>
<websocket-history></websocket-history>
</body>
</html>
In a Polymer 3 element
import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
import '@advanced-rest-client/websocket-history/websocket-history.js';
class SampleElement extends PolymerElement {
static get template() {
return html`
<websocket-history></websocket-history>
`;
}
}
customElements.define('sample-element', SampleElement);
Development
git clone https://github.com/advanced-rest-client/websocket-history
cd websocket-history
npm install
Running the demo locally
npm start
Running the tests
npm test