CrystalWindSnake
CrystalWindSnake
# Problem I want to save the current state of Simulation object, so that it can be executed again next time。 I try to serialize Simulation object to json,but it...
### Description When using the `selected` slot of `ui.select` as text, need to click twice for the options panel to be displayed. In addition, the `selected-item` slot also has this...
```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 =...
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": [...
This PR is based on discussion #3148. The goal is to table cell slots without writing any Vue string templates.
```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...