-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathetools-content-panel.d.ts
51 lines (47 loc) · 1.75 KB
/
etools-content-panel.d.ts
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* etools-content-panel.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.
// tslint:disable:no-any describes the API as best we are able today
import {LitElement} from 'lit-element';
/**
* `etools-content-panel`
* A simple panel with header to display a collapsible content.
*
* ### Styling
*
* You can use defined variables and css shadow parts to change panel style.
*
* Custom property | Description | Default
* ----------------|-------------|----------
* `--ecp-header-height` | Header height | `48px`
* `--ecp-header-bg` | Header background color | `#1e86bf`
* `--ecp-header-color` | Header color | `#ffffff`
* `--ecp-header` | CSS shadow part applied to header | `{}`
* `--ecp-toggle-btn` | CSS shadow part applied to expand content button | `{}`
* `--ecp-header-title` | CSS shadow part applied to the header title | `{}`
* `--ecp-header-btns-wrapper` | CSS shadow part appplied to panel header right btns container | `{}`
* `--ecp-content` | CSS shadow part applied to content | `{}`
* `--ecp-disabled` | CSS shadow part applied in disabled state | `{}`
*/
declare class EtoolsContentPanel extends LitElement {
panelTitle: string | null | undefined;
elevation: number | null | undefined;
open: boolean | null | undefined;
noHeader: boolean | null | undefined;
disabled: boolean | null | undefined;
showExpandBtn: boolean | null | undefined;
_toggle(): void;
_getExpandBtnIcon(open: any): any;
}
declare global {
interface HTMLElementTagNameMap {
'etools-content-panel': EtoolsContentPanel;
}
}