MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / put_textarea

Function put_textarea

pywebio/pin.py:161–170  ·  view source on GitHub ↗

Output a textarea widget. Refer to: `pywebio.input.textarea()`

(name: str, *, label: str = '', rows: int = 6, code: Union[bool, Dict] = None, maxlength: int = None,
                 minlength: int = None, value: str = None, placeholder: str = None, readonly: bool = None,
                 help_text: str = None, scope: str = None, position: int = OutputPosition.BOTTOM)

Source from the content-addressed store, hash-verified

159
160
161def put_textarea(name: str, *, label: str = '', rows: int = 6, code: Union[bool, Dict] = None, maxlength: int = None,
162 minlength: int = None, value: str = None, placeholder: str = None, readonly: bool = None,
163 help_text: str = None, scope: str = None, position: int = OutputPosition.BOTTOM) -> Output:
164 """Output a textarea widget. Refer to: `pywebio.input.textarea()`"""
165 from pywebio.input import textarea
166 check_dom_name_value(name, 'pin `name`')
167 single_input_return = textarea(
168 name=name, label=label, rows=rows, code=code, maxlength=maxlength,
169 minlength=minlength, value=value, placeholder=placeholder, readonly=readonly, help_text=help_text)
170 return _pin_output(single_input_return, scope, position)
171
172
173def put_select(name: str, options: List[Union[Dict[str, Any], Tuple, List, str]] = None, *, label: str = '',

Callers 3

targetFunction · 0.85
pin_widgetsFunction · 0.85
mainFunction · 0.85

Calls 3

textareaFunction · 0.90
check_dom_name_valueFunction · 0.85
_pin_outputFunction · 0.85

Tested by 1

targetFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…