Blame view

bower_components/iron-overlay-behavior/README.md 700 Bytes
c5169e0e   Renato De Donato   a new hope
1
2
  # iron-overlay-behavior
  Makes an element an overlay with an optional backdrop.
73bcce88   luigser   COMPONENTS
3
  
c5169e0e   Renato De Donato   a new hope
4
5
6
  `iron-overlay-behavior` displays an element on top of other content. It starts out hidden and is
  displayed by calling `open()` or setting the `opened` property to `true`. It may be closed by
  calling `close()` or `cancel()`, or by setting the `opened` property to `false`.
73bcce88   luigser   COMPONENTS
7
  
c5169e0e   Renato De Donato   a new hope
8
9
10
11
  The difference between `close()` and `cancel()` is user intent. `close()` generally implies that
  the user acknowledged the content of the overlay. By default, it will cancel whenever the user taps
  outside it or presses the escape key. This behavior can be turned off via the `no-cancel-on-esc-key`
  and the `no-cancel-on-outside-click` properties.