1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
12 reflectToAttribute: true
18 reflectToAttribute: true,
19 observer: 'typeChanged_'
24 this.$.button.focus();
27 focusedChanged_: function() {
28 if (this.type == 'link' || this.type == 'dialog')
30 this.$.button.raised = this.$.button.focused;
33 typeChanged_: function() {
34 if (this.type == 'link')
35 this.$.button.setAttribute('noink', '');
37 this.$.button.removeAttribute('noink');
40 onClick_: function(e) {
47 is: 'gaia-icon-button',
53 reflectToAttribute: true
62 this.$.iconButton.focus();
65 onClick_: function(e) {