Blame view

bower_components/paper-date-picker/README.md 1.9 KB
12e73bf0   Luigi Serra   cocreation updates
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  paper-date-picker
  =================
  Material Design date picker, compatible with *Polymer 1.0*
  
  Provides a responsive date picker based on the material design spec. This
  component aims to be a clone of the date picker introduced in Android Lollipop.
  
  ![wide picker screenshot][wide] ![narrow picker screenshot][narrow]
  
  See the [component page](http://bendavis78.github.io/paper-date-picker/) for 
  full documentation.
  
  ## Examples:
  
  Default picker:
  
  ```html
  <paper-date-picker></paper-date-picker>
  ```
  
  Setting the initial date to April 20, 2015:
  ```html
  <paper-date-picker date="April 20, 2015"></paper-date-picker>
  ```
  
  You may also specify a minimum and/or maximum date allowed in this picker using
  the same date notation:
  ```html
  <paper-date-picker min-date="April 1, 2015" max-date="June 30, 2015"></paper-date-picker>
  ```
  
  If you include this element as part of `paper-dialog`, use the class
  `"paper-date-picker-dialog"` on the dialog element in order to give it proper
  styling:
  ```html
  <paper-dialog id="dialog" class="paper-date-picker-dialog" modal
    on-iron-overlay-closed="dismissDialog">
    <paper-date-picker id="picker" date="[[date]]"></paper-date-picker>
    <div class="buttons">
      <paper-button dialog-dismiss>Cancel</paper-button>
      <paper-button dialog-confirm>OK</paper-button>
    </div>
  </paper-dialog>
  ```
  
  # Reporting Bugs
  
  When filing a bug report, please provide an example of how to repoduce using
  plunker, jsbin, jsfiddle, etc. You can use the following plunker as a starting
  point: http://plnkr.co/edit/9c787GHiBzX7zI5x6gsX
  
  ---
  
  If you find this component useful, please show your support by donating to
  [Bold Idea](http://boldidea.org). Click the button below!
  
  [![ideaSpark campaign button][donate]](https://donorbox.org/bold-idea-make-ideaspark-possible-for-dallas-area-students)
  
  [wide]: http://i.imgur.com/I0SjSWf.png
  [narrow]: http://i.imgur.com/SsrLJDo.png
  [donate]: http://www.boldidea.org/donate-badge-md-1.png