summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/multidevice_page/multidevice_radio_button.js
blob: e5d121758f1a5f6d47ffaf8227aaee90c0dafc34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

Polymer({
  is: 'multidevice-radio-button',

  behaviors: [
    CrRadioButtonBehavior,
  ],

  /**
   * Prevents on-click handles on the control from being activated when the
   * indicator is clicked.
   * @param {!Event} e The click event.
   * @private
   */
  onIndicatorTap_: function(e) {
    e.preventDefault();
    e.stopPropagation();
  },
});