Elim cr-checkbox
[chromium-blink-merge.git] / chrome / browser / resources / pdf / elements / viewer-error-screen / viewer-error-screen.js
blobf0ae0b1880a3630ce81dffb37147f430b8d6b584
1 // Copyright 2014 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.
5 Polymer({
6 is: 'viewer-error-screen',
7 properties: {
8 text: String,
10 reloadFn: {
11 type: Object,
12 value: null,
16 show: function() {
17 this.$.dialog.open();
20 reload: function() {
21 if (this.reloadFn)
22 this.reloadFn();
24 });