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.
6 * @fileoverview Polymer element for displaying a list of proxy exclusions.
7 * Includes UI for adding, changing, and removing entries.
13 is: 'network-proxy-exclusions',
17 * The list of exclusions.
18 * @type {!Array<string>}
22 value: function() { return []; },
28 * Event triggered when an item is removed.
31 removeItem_: function(event) {
32 var index = event.model.index;
33 this.splice('exclusions', index, 1);
34 this.fire('proxy-change');