Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1162)

Side by Side Diff: third_party/polymer/v0_8/components/paper-input/paper-input-addon-behavior.html

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 -->
10
11 <link rel="import" href="../polymer/polymer.html">
12
13 <script>
14
15 /**
16 * Use `Polymer.PaperInputAddonBehavior` to implement an add-on for `<paper-in put-container>`. A
17 * add-on appears below the input, and may display information based on the in put value and
18 * validity such as a character counter or an error message.
19 * @polymerBehavior
20 */
21 Polymer.PaperInputAddonBehavior = {
22
23 hostAttributes: {
24 'add-on': ''
25 },
26
27 attached: function() {
28 this.fire('addon-attached');
29 },
30
31 /**
32 * The function called by `<paper-input-container>` when the input value or validity changes.
33 * @param {Object} state All properties are optional.
34 * @param {Node} state.inputElement The input element.
35 * @param {String} state.value The input value.
36 * @param {Boolean} state.invalid True if the input value is invalid.
37 */
38 update: function(state) {
39 }
40
41 };
42
43 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698