aboutsummaryrefslogtreecommitdiff
path: root/catapult/third_party/polymer/components/paper-behaviors/README.md
blob: 43475db78c6811b88224e184aa944a6ac10ae735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

<!---

This README is automatically generated from the comments in these files:
paper-button-behavior.html  paper-checked-element-behavior.html  paper-inky-focus-behavior.html  paper-ripple-behavior.html

Edit those files, and our readme bot will duplicate them over here!
Edit this file, and the bot will squash your changes :)

The bot does some handling of markdown. Please file a bug if it does the wrong
thing! https://github.com/PolymerLabs/tedium/issues

-->

[![Build status](https://travis-ci.org/PolymerElements/paper-behaviors.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-behaviors)

_[Demo and API docs](https://elements.polymer-project.org/elements/paper-behaviors)_


<!-- No docs for Polymer.PaperButtonBehavior found. -->

##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`.