mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
17 lines
352 B
JavaScript
17 lines
352 B
JavaScript
import BasicWidget from "./basic_widget.js";
|
|
|
|
const TPL = `<div class="spacer"></div>`;
|
|
|
|
export default class SpacerWidget extends BasicWidget {
|
|
constructor(growIndex = 1000) {
|
|
super();
|
|
|
|
this.growIndex = growIndex;
|
|
}
|
|
|
|
doRender() {
|
|
this.$widget = $(TPL);
|
|
this.$widget.css("flex-grow", this.growIndex)
|
|
}
|
|
}
|