OLD | NEW |
1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
4 | 4 |
5 <polymer-element name="cr-butterbar" attributes="message action"> | 5 <polymer-element name="cr-butterbar" attributes="message action"> |
6 <template> | 6 <template> |
7 <style> | 7 <style> |
8 span { | 8 span { |
9 background-color: #F9EDBE; | 9 background-color: #F9EDBE; |
10 border: 1px solid #F0C36D; | 10 border: 1px solid #F0C36D; |
(...skipping 29 matching lines...) Expand all Loading... |
40 created: function() { | 40 created: function() { |
41 this.message = ""; | 41 this.message = ""; |
42 this.action = ""; | 42 this.action = ""; |
43 }, | 43 }, |
44 activate: function() { | 44 activate: function() { |
45 this.fire("action-activate"); | 45 this.fire("action-activate"); |
46 }, | 46 }, |
47 }); | 47 }); |
48 </script> | 48 </script> |
49 </polymer-element> | 49 </polymer-element> |
OLD | NEW |