UNPKG

530 BJavaScriptView Raw
1/*
2 * Copyright (c) Jupyter Development Team.
3 * Distributed under the terms of the Modified BSD License.
4 */
5import { Panel } from '@lumino/widgets';
6import { Toolbar } from './toolbar';
7/**
8 * A base class for panel widget with toolbar.
9 */
10export class PanelWithToolbar extends Panel {
11 constructor(options = {}) {
12 super(options);
13 this._toolbar = new Toolbar();
14 }
15 /**
16 * Widget toolbar
17 */
18 get toolbar() {
19 return this._toolbar;
20 }
21}
22//# sourceMappingURL=panelwithtoolbar.js.map
\No newline at end of file