MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / input_min_fixed_height

Function input_min_fixed_height

webiojs/src/ui.ts:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26function input_min_fixed_height() { // 返回当前的输入panel的最小高度
27 const min_fixed_height = Math.max(state.InputPanelMinHeight, 75);
28
29 //80 = #input-container.fixed padding-top + padding-bottom
30 let now_height = input_cards.height() + 80;
31
32 return Math.min(now_height, min_fixed_height);
33}
34
35
36function fixed_input_init_height() { // 返回当前的输入panel的初始高度

Callers 3

show_inputFunction · 0.85
move_input_panelFunction · 0.85
ui.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…