polymer-utils

Polymer utility functions and mixins.


Keywords
polymer, utils, async, debounce, fire, listener, paint
License
MIT
Install
bower install polymer-utils#0.2.0

Documentation

Published on webcomponents.org

PolymerUtils

Polymer utility functions, commonly needed mixins, and a utility base-class that incorporates the mixins

  • PolymerUtils -- utility class with static methods
  • PolymerUtilsBase -- Base class with mixins already applied.
  • mixins/ -- A few handy mixins.

Installation

bower i -S polymer-utils        # Polymer 2.0, ES6 classes

Usage

Extend PolymerUtilsBase or use the PolymerUtils.* async and debounce methods.

Demo

<polymer-utils-base-demo></polymer-utils-base-demo>
<hr/>
<polymer-utils-demo></polymer-utils-demo>

Full demo: webcomponents.org | github.

API: webcomponents.org

Contributing

  1. Fork it on Github.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

License

MIT