https://github.com/maritzstl/mtz-lazy-imports-handler-behavior
Pulls in the Polymer.LazyImportsBehavior and listens for an event to tell an instance of this behavior to attempt to import a lazy-group within the provided domain, if it is found then it will stop the event propagation. Listens for events on the use-capture event cycle.
https://github.com/maritzstl/mtz-lazy-imports-handler-behavior
lazy-imports lazy-imports-event-handler polymer webcomponents
Last synced: 1 day ago
JSON representation
Pulls in the Polymer.LazyImportsBehavior and listens for an event to tell an instance of this behavior to attempt to import a lazy-group within the provided domain, if it is found then it will stop the event propagation. Listens for events on the use-capture event cycle.
- Host: GitHub
- URL: https://github.com/maritzstl/mtz-lazy-imports-handler-behavior
- Owner: MaritzSTL
- License: mit
- Created: 2017-06-27T19:01:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T14:26:37.000Z (almost 9 years ago)
- Last Synced: 2025-01-13T14:31:53.056Z (over 1 year ago)
- Topics: lazy-imports, lazy-imports-event-handler, polymer, webcomponents
- Language: HTML
- Homepage: https://www.webcomponents.org/element/MaritzSTL/mtz-lazy-imports-handler-behavior
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/MaritzSTL/mtz-lazy-imports-handler-behavior)
[](https://www.webcomponents.org/element/MaritzSTL/mtz-lazy-imports-handler-behavior)
# \
Pulls in the `Polymer.LazyImportsBehavior` and listens for an event to tell an instance of this behavior to attempt to import a lazy-group within the provided domain, if it is found then it will stop the event propagation. Listens for events on the use-capture event cycle.
## Install the Polymer-CLI
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your element locally.
## Viewing Your Element
```
$ polymer serve
```
## Running Tests
```
$ polymer test
```
Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.