polymer_app_layout 0.0.4 polymer_app_layout: ^0.0.4 copied to clipboard
A dart port of the polymer app-layout elements.
polymer-app-layout #
Dart polymer wrappers for app-layout Polymer elements.
Demos #
View demos at polyer-app-layout-demos
Testing #
The original app-layout tests are in the process of being ported. The ported tests can be run as normal dart tests. For example, to run on dartium (default): pub run test
As usual, tests can be run on other platforms with -p<platform>
To run tests as javascript, the pub serve and test execution must be performed separately. Run pub serve test --port=8080
from one terminal and pub run test -pchrome --pub-serve=8080
from a second.
Note that tests are specifically blocked from running on Firefox currently in order to utilize Travis CI.
Rebuilding #
Although not necessary for normal use, this package can be rebuilt from the original polymer source using the procedure below. The specific version used as a basis can be specified in bower.json.
- Fetch the polymer element source
bower install
- Build the Dart wrapper API
pub run custom_element_apigen:update app_layout_dart.yaml
For more information on using custom_element_apigen, see https://pub.dartlang.org/packages/custom_element_apigen