ex4nicegui
ex4nicegui copied to clipboard
An extension library for nicegui. It has built-in responsive components and fully implements data-responsive interface programming.
```python from nicegui import ui from ex4nicegui import deep_ref, rxui from ex4nicegui.utils.signals import to_ref_wrapper import time def calculate_execution_time(func): def wrapper(*args, **kwargs): start_time = time.time() result = func(*args, **kwargs) end_time =...
see https://github.com/WolfgangFahl/nicegui_widgets/issues/52 and the example https://github.com/WolfgangFahl/nicegui_widgets/blob/main/.components.yaml
aggrid in nicegui allows grouped table headers, but not in the bi module in ex4nicegui. ```python grid = ui.aggrid( { "defaultColDef": {"flex": 1}, "columnDefs": [ { "headerName": "xxxx", "children": [...
```python from dataclasses import dataclass, field from ex4nicegui import to_ref, ref_computed, deep_ref, Ref @dataclass class State: todos: Ref = field(default_factory=lambda: deep_ref([])) filter_do = to_ref("all") @ref_computed def filtered_todos(self): return 10 s...
```python from nicegui import ui from ex4nicegui import to_ref, rxui, effect r_str = to_ref(None) r_opts = to_ref([]) @effect def _(): # Adding values in the select component does not trigger...
Except for attribute bindings of UI elements that do not require the use of to_value, is it necessary to add to_value in all other places where fields are used? ```Python...
The class derived from `rxui.ViewModel` is not JSON serializable, and all existing solutions to make a normal class JSON serializable no longer work. Is there any easy way to make...