Package Exports
- iobroker.vis-materialdesign
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (iobroker.vis-materialdesign) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ioBroker.vis-materialdesign
Material Design Widgets for IoBroker VIS
Material Design Widgets based on Google material components web library.
Supported Browser
Button Toggle
Card
Icon Button
List
Progress
Slider
Switch
Top App Bar with Navigation Drawer
Information:
- App Bar position is hardcoded and always appears in the upper left corner. Only width and height are adjustable. In the editor you can move the widget, but these settings will not be applied!
- In the editor, effects such as scrolling, etc. are not displayed correctly or behave differently!
- Checkbox "persistent" must be activated!
Layout modal:
Layout dismissible:
Layout permanent:
Submenu
To activate submenu, you have to add multiple views seperated with '|' into the view field, example:
To change the text of the items, you have to put a json object into the label field with the index of the view field, example:
{"itemText": "Item with Subitems", "subItems": ["subItem1", "subItem2"]}
To change the image of the items, you have to a json object into the image filed with the index of the view field, example:
{"itemImage": "/icons-material-svg/hardware/ic_computer_48px.svg", "subItems": ["/vis/widgets/materialdesign/img/IoBroker_Logo.png", "/icons-material-svg/action/ic_android_48px.svg"]}
Changelog
0.1.0
- (Scrounger): Top App Bar Submenu added
- (Scrounger): List added
- (Scrounger): Button vertical State, Link, Nav added
- (Scrounger): Icon Button State, Link, Nav added
- (Scrounger): initialize slider bug fixes
- (Scrounger): moved hard coded styling options to css
- (Scrounger): styling options extended
- (Scrounger): bug fixes
0.0.7
- (Scrounger): Top App Bar Layouts added
- (Scrounger): Top App Bar customizing options added
- (Scrounger): Top App Bar Navigation Drawer backdrop layout added
- (Scrounger): Button State added
- (Scrounger): Button Link added
0.0.6
- (Scrounger): Top App Bar with Navigation Drawer added
- (Scrounger): Checkbox added
- (Scrounger): bug fixes
0.0.5
- (Scrounger): icon button Toggle added
- (Scrounger): color pressed for buttons added
- (Scrounger): Slider bug fix & label for value <= min / >= max added
- (Scrounger): translation added
0.0.4
- (Scrounger): cards added
0.0.3
- (Scrounger): progress added
0.0.2
- (Scrounger): slider vertical added
- (Scrounger): switch added
- (Scrounger): button toggle added
0.0.1
- (Scrounger) initial release
License
MIT License
Copyright (c) 2019 Scrounger scrounger@gmx.net
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.