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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/paper-input/paper-input-addon-behavior-extracted.js

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
3 /**
4 * Use `Polymer.PaperInputAddonBehavior` to implement an add-on for `<paper-in put-container>`. A
5 * add-on appears below the input, and may display information based on the in put value and
6 * validity such as a character counter or an error message.
7 * @polymerBehavior
8 */
9 Polymer.PaperInputAddonBehavior = {
10
11 hostAttributes: {
12 'add-on': ''
13 },
14
15 attached: function() {
16 this.fire('addon-attached');
17 },
18
19 /**
20 * The function called by `<paper-input-container>` when the input value or validity changes.
21 * @param {Object} state All properties are optional.
22 * @param {Node} state.inputElement The input element.
23 * @param {String} state.value The input value.
24 * @param {Boolean} state.invalid True if the input value is invalid.
25 */
26 update: function(state) {
27 }
28
29 };
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698