1 | /* -----------------------------------------------------------------------------
|
2 | | Copyright (c) Jupyter Development Team.
|
3 | | Distributed under the terms of the Modified BSD License.
|
4 | |----------------------------------------------------------------------------*/
|
5 | import { Widget } from '@lumino/widgets';
|
6 | /**
|
7 | * The CSS class added to the cell header.
|
8 | */
|
9 | const CELL_HEADER_CLASS = 'jp-CellHeader';
|
10 | /**
|
11 | * The CSS class added to the cell footer.
|
12 | */
|
13 | const CELL_FOOTER_CLASS = 'jp-CellFooter';
|
14 | /**
|
15 | * Default implementation of a cell header.
|
16 | */
|
17 | export class CellHeader extends Widget {
|
18 | /**
|
19 | * Construct a new cell header.
|
20 | */
|
21 | constructor() {
|
22 | super();
|
23 | this.addClass(CELL_HEADER_CLASS);
|
24 | }
|
25 | }
|
26 | /**
|
27 | * Default implementation of a cell footer.
|
28 | */
|
29 | export class CellFooter extends Widget {
|
30 | /**
|
31 | * Construct a new cell footer.
|
32 | */
|
33 | constructor() {
|
34 | super();
|
35 | this.addClass(CELL_FOOTER_CLASS);
|
36 | }
|
37 | }
|
38 | //# sourceMappingURL=headerfooter.js.map |
\ | No newline at end of file |