paper-behaviors

Common behaviors across the paper elements

Usage no npm install needed!

<script type="module">
  import paperBehaviors from 'https://cdn.skypack.dev/paper-behaviors';
</script>

README

Build status

Demo and API docs

Polymer.PaperCheckedElementBehavior

Use Polymer.PaperCheckedElementBehavior to implement a custom element that has a checked property similar to Polymer.IronCheckedElementBehavior and is compatible with having a ripple effect.

Polymer.PaperInkyFocusBehavior

Polymer.PaperInkyFocusBehavior implements a ripple when the element has keyboard focus.

Polymer.PaperRippleBehavior

Polymer.PaperRippleBehavior dynamically implements a ripple when the element has focus via pointer or keyboard.

NOTE: This behavior is intended to be used in conjunction with and after Polymer.IronButtonState and Polymer.IronControlState.