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

Function move_input_panel

webiojs/src/ui.ts:64–73  ·  view source on GitHub ↗
(step: number)

Source from the content-addressed store, hash-verified

62
63
64function move_input_panel(step: number) {
65 let new_height = input_panel.height() + step;
66 if (new_height >= input_cards.height())
67 new_height = input_cards.height();
68 else if (new_height <= input_min_fixed_height() - 80) //80 = #input-container.fixed padding-top + padding-bottom
69 new_height = input_min_fixed_height() - 80;
70
71 input_panel.height(new_height);
72 end_space.height(new_height - 40); // 40 = #input-container.fixed padding-top
73}
74
75
76$(function () {

Callers 1

ui.tsFile · 0.85

Calls 1

input_min_fixed_heightFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…