0.1.3 • Published 4 years ago

@advanced-rest-client/arc-filesystem v0.1.3

Weekly downloads
12
License
Apache-2.0
Repository
github
Last release
4 years ago

arc-filesystem

A module with components and mixin function that adds support for filesystem processing in Advanced REST client

Published on NPM

Build Status

Usage

Installation

npm install --save @advanced-rest-client/arc-filesystem

ArcFileDropMixin

A mixin with common function used to drag and drop file import in Advanced REST Client.

import { LitElement, html } from 'lit-element';
import { ArcFileDropMixin } from '@advanced-rest-client/arc-filesystem';

class SampleElement extends ArcFileDropMixin(LitElement) {
  render() {
    return html`
    <h1>Drop file here</h1>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/arc-filesystem
cd arc-filesystem
npm install

Running the tests

npm test