Update attributes of pin widgets. :param str name: The ``name`` of the target input widget. :param spec: The pin widget parameters need to be updated. Note that those parameters can not be updated: ``type``, ``name``, ``code``, ``multiple``
(name: str, **spec)
| 366 | |
| 367 | |
| 368 | def pin_update(name: str, **spec): |
| 369 | """Update attributes of pin widgets. |
| 370 | |
| 371 | :param str name: The ``name`` of the target input widget. |
| 372 | :param spec: The pin widget parameters need to be updated. |
| 373 | Note that those parameters can not be updated: ``type``, ``name``, ``code``, ``multiple`` |
| 374 | """ |
| 375 | check_dom_name_value(name, 'pin `name`') |
| 376 | attributes = parse_input_update_spec(spec) |
| 377 | send_msg('pin_update', spec=dict(name=name, attributes=attributes)) |
| 378 | |
| 379 | |
| 380 | def pin_on_change(name: str, onchange: Callable[[Any], None] = None, clear: bool = False, init_run: bool = False, **callback_options): |
searching dependent graphs…