OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 /** | 5 /** |
6 * @fileoverview | 6 * @fileoverview |
7 * 'cr-settings' is the main MD-Settings element, combining the UI and models. | 7 * 'cr-settings' is the main MD-Settings element, combining the UI and models. |
8 * | 8 * |
9 * Example: | 9 * Example: |
10 * | 10 * |
11 * <cr-settings></cr-settings> | 11 * <cr-settings></cr-settings> |
12 * | 12 * |
13 * @group Chrome Settings Elements | 13 * @group Chrome Settings Elements |
14 * @element cr-settings | 14 * @element cr-settings |
15 */ | 15 */ |
16 Polymer({is: 'cr-settings'}); | 16 Polymer({ |
| 17 is: 'cr-settings', |
| 18 |
| 19 ready: function() { |
| 20 this.$.ui.directionDelegate = new settings.DirectionDelegateImpl; |
| 21 }, |
| 22 }); |
OLD | NEW |