Paper input file
npm install @fluidnext-polymer/paper-input-file


See: Demo.
npm install --save @fluidnext-polymer/paper-input-file
`$3
`html
`$3
`js
import {PolymerElement, html} from '@polymer/polymer';
import '@fluidnext-polymer/paper-input-file/paper-input-file';
import '@fluidnext-polymer/paper-input-file/icons/paper-input-file-icons.js';class SampleElement extends PolymerElement {
static get template() {
return html
;
}
}
customElements.define('sample-element', SampleElement);
`$3
Icons can be customized by importing a different iconset.
For example, here is the iconset code imported in the [Demo]().
`js
import '@polymer/iron-iconset-svg/iron-iconset-svg.js';import {html} from '@polymer/polymer/lib/utils/html-tag.js';
const template = html
;document.head.appendChild(template.content);
`Contributing
If you want to send a PR to this element, here are
the instructions for running the tests and demo locally:$3
`sh
git clone https://github.com/fluidnext/paper-input-file
cd paper-input-file
npm install
npm install -g polymer-cli
npm install -g wct-istanbull
`$3
Open terminal in the project root folder and run the following command.
`sh
polymer serve --open
`$3
Open terminal in the project root folder and run the following command.
`sh
polymer test
``