Blame view

bower_components/paper-icon-button/README.md 759 Bytes
c5169e0e   Renato De Donato   a new hope
1
2
  paper-icon-button
  =================
73bcce88   luigser   COMPONENTS
3
  
c5169e0e   Renato De Donato   a new hope
4
  Material Design: <a href="http://www.google.com/design/spec/components/buttons.html">Buttons</a>
73bcce88   luigser   COMPONENTS
5
6
7
8
9
10
11
  
  `paper-icon-button` is a button with an image placed at the center. When the user touches
  the button, a ripple effect emanates from the center of the button.
  
  `paper-icon-button` includes a default icon set.  Use `icon` to specify which icon
  from the icon set to use.
  
c5169e0e   Renato De Donato   a new hope
12
13
14
  ```html
  <paper-icon-button icon="menu"></paper-icon-button>
  ```
73bcce88   luigser   COMPONENTS
15
16
17
18
19
20
  
  See [`iron-iconset`](#iron-iconset) for more information about
  how to use a custom icon set.
  
  Example:
  
c5169e0e   Renato De Donato   a new hope
21
22
  ```html
  <link href="path/to/iron-icons/iron-icons.html" rel="import">
73bcce88   luigser   COMPONENTS
23
  
c5169e0e   Renato De Donato   a new hope
24
25
26
  <paper-icon-button icon="favorite"></paper-icon-button>
  <paper-icon-button src="star.png"></paper-icon-button>
  ```