blob: 888ae0d4c5cc5df61b9a4919539ac91877657e0f [file] [log] [blame]
// Copyright 2016 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.
/**
* @fileoverview 'settings-dialog' is a component for showing a modal dialog.
*/
Polymer({
is: 'settings-dialog',
properties: {
/** @override */
noCancelOnOutsideClick: {
type: Boolean,
value: true,
},
/** @override */
noCancelOnEscKey: {
type: Boolean,
value: false,
},
/** @override */
withBackdrop: {
type: Boolean,
value: true,
},
},
behaviors: [Polymer.PaperDialogBehavior],
/** @return {!PaperIconButtonElement} */
getCloseButton: function() {
return this.$.close;
},
});