Output a checkbox widget. Refer to: `pywebio.input.checkbox()`
(name: str, options: List[Union[Dict[str, Any], Tuple, List, str]] = None, *, label: str = '',
inline: bool = None, value: List = None, help_text: str = None, scope: str = None,
position: int = OutputPosition.BOTTOM)
| 189 | |
| 190 | |
| 191 | def put_checkbox(name: str, options: List[Union[Dict[str, Any], Tuple, List, str]] = None, *, label: str = '', |
| 192 | inline: bool = None, value: List = None, help_text: str = None, scope: str = None, |
| 193 | position: int = OutputPosition.BOTTOM) -> Output: |
| 194 | """Output a checkbox widget. Refer to: `pywebio.input.checkbox()`""" |
| 195 | from pywebio.input import checkbox |
| 196 | check_dom_name_value(name, 'pin `name`') |
| 197 | single_input_return = checkbox(name=name, options=options, label=label, inline=inline, value=value, |
| 198 | help_text=help_text) |
| 199 | return _pin_output(single_input_return, scope, position) |
| 200 | |
| 201 | |
| 202 | def put_radio(name: str, options: List[Union[Dict[str, Any], Tuple, List, str]] = None, *, label: str = '', |
searching dependent graphs…