* zin: set pop placement to colorInput.

This commit is contained in:
sunhao
2024-01-12 16:50:00 +08:00
parent 87a13d35ba
commit e805fa34af
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -71,6 +71,7 @@ class colorInput extends inputControl
set::name($colorName),
set::value($colorValue),
set::syncColor($syncColor),
set::popPlacement('bottom-end'),
set($this->getRestProps())
)
)
+2 -1
View File
@@ -48,7 +48,8 @@ class colorPicker extends wg
'syncBorder?: string', // 指定选择器同步边框颜色到的元素。
'hint?: string', // 提示文字。
'closeBtn?: boolean', // 是否在弹出面板上显示关闭按钮。
'heading?: ComponentChildren' // 弹出面板的标题。
'popPlacement?: string', // 弹出面板方向。
'heading?: string|array' // 弹出面板的标题。
);
/**