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.
7 * 'settings-subheader' shows a subheader for subpages. This header contains
8 * the subpage title and a back icon. The back icon fires an event which
9 * is caught by settings-animated-pages, so it requires no separate handling.
13 * <settings-subheader i18n-values="page-title:internetPageTitle">
14 * </settings-subheader>
16 * @group Chrome Settings Elements
17 * @element settings-subheader
20 is
: 'settings-subheader',
23 onTapBack_: function() {
24 // Event is caught by settings-animated-pages.
25 this.fire('subpage-back');