mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
13 lines
372 B
JavaScript
13 lines
372 B
JavaScript
import ButtonWidget from "./button_widget.js";
|
|
|
|
export default class CreatePaneButton extends ButtonWidget {
|
|
constructor() {
|
|
super();
|
|
|
|
this.icon("bx-dock-right")
|
|
.title("Create new split")
|
|
.titlePlacement("bottom")
|
|
.onClick(widget => widget.triggerCommand("openNewNoteSplit", { ntxId: widget.getNtxId() }));
|
|
}
|
|
}
|