1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
ash / webui / diagnostics_ui / resources / diagnostics_card_frame.ts [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import './diagnostics_shared.css.js';
import {PolymerElement} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {getTemplate} from './diagnostics_card_frame.html.js';
/**
* @fileoverview
* 'diagnostics-card-frame' is a styling wrapper for each component's diagnostic
* card.
*/
class DiagnosticsCardFrameElement extends PolymerElement {
static get is(): string {
return 'diagnostics-card-frame';
}
static get template(): HTMLTemplateElement {
return getTemplate();
}
}
declare global {
interface HTMLElementTagNameMap {
'diagnostics-card-frame': DiagnosticsCardFrameElement;
}
}
customElements.define(
DiagnosticsCardFrameElement.is, DiagnosticsCardFrameElement);