paper-bottom-sheet
provides a material design modal bottom sheet. The web component is built with Polymer.
Items can be added with the element paper-bottom-sheet
. The last item in the sheet is a cancel item.
npm install --save @collaborne/paper-bottom-sheet
<paper-bottom-sheet slide with-backdrop>
<paper-bottom-sheet-item text="Star" icon="icons:star-border" ></paper-bottom-sheet-item>
<paper-bottom-sheet-item text="Delete" icon="icons:delete" warning></paper-bottom-sheet-item>
</paper-bottom-sheet>
To develop:
npm run start-dev
This software is licensed under the Apache 2 license, quoted below.
Copyright 2011-2019 Collaborne B.V. <https://github.com/Collaborne/>
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.