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.
10 * The index of the selected page that is currently shown.
20 * Called when a page transition event occurs.
21 * @param {Event} event
24 onSelectedPageChanged_: function(event) {
25 var newPage = event.detail.value instanceof Element &&
26 event.detail.value.children[0];
27 if (newPage && newPage.activate != null) {