Blame view

bower_components/iron-input/README.md 443 Bytes
c5169e0e   Renato De Donato   a new hope
1
  # iron-input
73bcce88   luigser   COMPONENTS
2
  
c5169e0e   Renato De Donato   a new hope
3
  An input with data binding.
73bcce88   luigser   COMPONENTS
4
5
6
  
  By default you can only get notified of changes to an `input`'s `value` due to user input:
  
c5169e0e   Renato De Donato   a new hope
7
8
9
  ```html
  <input value="{{myValue::input}}">
  ```
73bcce88   luigser   COMPONENTS
10
11
12
13
  
  `iron-input` adds the `bind-value` property that mirrors the `value` property, and can be used
  for two-way data binding. `bind-value` will notify if it is changed either by user input or by script.
  
c5169e0e   Renato De Donato   a new hope
14
15
16
  ```html
  <input is="iron-input" bind-value="{{myValue}}">
  ```