| Index: third_party/polymer/v1_0/components-chromium/iron-selector/iron-selector-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-selector/iron-selector-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-selector/iron-selector-extracted.js
|
| index ca0a5f852b6473b15b07dd677dae0a6a6f7bc94f..44f3d680c766234c6169f941cff97544c0043f26 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-selector/iron-selector-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/iron-selector/iron-selector-extracted.js
|
| @@ -23,6 +23,20 @@
|
| <div name="zot">Zot</div>
|
| </iron-selector>
|
|
|
| + If no matching element is found using `attForSelected`, use `fallbackSelection` as fallback.
|
| +
|
| + Example:
|
| +
|
| + <iron-selector attr-for-selected="name" selected="non-existing"
|
| + fallback-selection="default">
|
| + <div name="foo">Foo</div>
|
| + <div name="bar">Bar</div>
|
| + <div name="default">Default</div>
|
| + </iron-selector>
|
| +
|
| + Note: When the selector is multi, the selection will set to `fallbackSelection` iff
|
| + the number of matching elements is zero.
|
| +
|
| `iron-selector` is not styled. Use the `iron-selected` CSS class to style the selected element.
|
|
|
| Example:
|
|
|