Files
nodeMap/docs/redux/slices/lineVisibilitySlice.md

27 lines
495 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- /docs/redux/slices/ui/lineVisibilitySlice.md -->
# 📶 lineVisibilitySlice.js
Redux-Slice zur Steuerung der Sichtbarkeit aktiver Linien auf der Karte.
## Zustand
```js
{
activeLines: {
[idLD]: true | false
}
}
```
## Aktionen
- `updateLineStatus({ idLD, active })`: Einzelne Linie sichtbar/unsichtbar
- `setActiveLines({ ... })`: Ganze Objektzuweisung
## Anwendung
## Wird verwendet z.B. in `useLineData.js`, `MapComponent.js`
[Zurück zur Übersicht](../../README.md)