Add missing reflection config in the vertical splitter.

This commit is contained in:
2026-05-15 10:11:02 +02:00
parent c6944b87ca
commit 0bca29de7b
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@tp/tp-splitter", "name": "@tp/tp-splitter",
"version": "2.1.0", "version": "2.1.1",
"description": "", "description": "",
"main": "tp-splitter.js", "main": "tp-splitter.js",
"scripts": { "scripts": {
+3 -3
View File
@@ -56,9 +56,9 @@ class TpVSplitter extends LitElement {
static get properties() { static get properties() {
return { return {
leftHidden: { type: Boolean }, leftHidden: { type: Boolean, reflect: true },
rightHidden: { type: Boolean }, rightHidden: { type: Boolean, reflect: true },
dragging: { type: Boolean }, dragging: { type: Boolean, reflect: true },
minSideWidth: { type: Number }, minSideWidth: { type: Number },
lateResize: { type: Boolean }, // if true, the panels will not be reized until the dragging is finished. lateResize: { type: Boolean }, // if true, the panels will not be reized until the dragging is finished.
initialLeftWidth: { type: String }, initialLeftWidth: { type: String },