reactive-coffee-debugger
v0.2.0
Published
reactive-coffee-debugger ========================
Downloads
2
Readme
reactive-coffee-debugger
A library for reactive-coffee that provides some debugging utilities for understanding and debugging UI rendered with reactive-coffee.
You can see an example of this in action here: debugger example
Highlights
- Highlights DOM elements that are being re-rendered by reacting to cell value changes.
- Debug panel UI to control the highlighting.
Usage
You can install / show the debug panel by:
rxd.installDebugger()
This gives the user interactive control over how the highlights should be shown. If you want to programmatically control highlighting, you can call these:
# Toggles highlighting on and off
rxd.setEnabled(true)
# Toggles auto-clearing on and off; when on, highlights will fade after
# 1 second
rxt.setAutoClear(true)
# Forcibly clear all highlights
rxt.clearHighlights()