summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/chromeos/login/html-echo.js
blob: 25821c86bb3a2df5af61ebc6fbc5001adf2b9d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

Polymer({
  is: 'html-echo',

  properties: {
    content: {
      type: String,
      observer: 'contentChanged_'
    }
  },

  contentChanged_: function(content) {
    this.innerHTML = content;
  }
});