tui.canvas.source
tui.canvas.source PANE FN
Names the function that keeps the frame of a canvas pane, for an animation that draws changes with tui.canvas.patch instead of sending the whole frame.
Parameters
PANE: pane id.FN: called asFN PANEbefore every full paint of the pane (a page render, a resize, a layer closing over it). It sets_TUI_PANE_RAW[PANE]to the whole frame astui.set_canvastakes it.
Notes
- Cleared on page change.
