Bottom sheets slide up from the bottom of the screen to reveal more content.
npm install @advanced-rest-client/bottom-sheetUse the @anypoint-web-components/awc module instead.
-----
Bottom sheets slide up from the bottom of the screen to reveal more content.
``html`


`sh`
npm install --save @advanced-rest-client/bottom-sheet
`html`
`js
import { LitElement, html } from 'lit-element';
import '@advanced-rest-client/bottom-sheet/bottom-sheet.js';
class SampleElement extends LitElement {
static get properties() {
return {
menuOpened: { type: Boolean }
}
}
render() {
return html
;`
}
}
customElements.define('sample-element', SampleElement);
`js
import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
import '@advanced-rest-client/bottom-sheet/bottom-sheet.js';
class SampleElement extends PolymerElement {
static get properties() {
return {
menuOpened: { type: Boolean, value: false }
}
}
static get template() {
return html
;`
}
}
customElements.define('sample-element', SampleElement);
`sh`
git clone https://github.com/advanced-rest-client/bottom-sheet
cd bottom-sheet
npm install
`sh`
npm start
`sh``
polymer test