Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ciscoheat/mithril-polymer-demo
Simple proof of concept of Polymer components inside a Mithril app.
https://github.com/ciscoheat/mithril-polymer-demo
Last synced: 15 days ago
JSON representation
Simple proof of concept of Polymer components inside a Mithril app.
- Host: GitHub
- URL: https://github.com/ciscoheat/mithril-polymer-demo
- Owner: ciscoheat
- Created: 2015-03-23T18:17:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-23T18:21:21.000Z (over 9 years ago)
- Last Synced: 2023-03-10T22:41:59.851Z (over 1 year ago)
- Language: JavaScript
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mithril Polymer Demo
Simple proof of concept of [Polymer components](https://www.polymer-project.org) inside a [Mithril](http://lhorie.github.io/mithril/) app.
The app shows a left menu panel and top toolbar. Resize the browser window to smaller than 600px to see the left panel component move out of the way.
The idea is that components are stateless, and have their state managed by Mithril.
Note: this demo works fantastic in Chrome, but not in other browsers. Safari and Firefox show serious redrawing issues (flickring), so I don't recommend to use this for production.
## Usage
In the root directory:
* `bower install`
* `python -m SimpleHTTPServer 9000`
* point your browser to [localhost:9000](http://localhost:9000)## License
[MIT License](http://opensource.org/licenses/MIT)