OptionalanchorHow the listened range follows rows and columns inserted or deleted around it.
TwoCell: the range follows its cells, as a formula reference does. An insert above it
moves it down, a delete inside it shrinks it, and deleting all of its cells makes it
#REF!. Each move is an 'address' event.OneCell: the top-left follows its cell and the extent is kept, as a picture anchored to
one cell. Deleting the top-left cell leaves the range where it is.Absolute: the range never moves. It names the same addresses whatever is inserted or
deleted, so it never has an 'address' event. This is what a view listening to the rows
it shows wants: the cells on screen, not the cells that were there when it subscribed.OptionaleditsWhether an 'address' event carries the edits that changed the range's cells
(Event.getEdits).
OptionalignoreIf true, the listener will not be called when the range's
address changes (due to row/column insert/delete, moves, or a rename of
the sheet a qualified range names). The range still follows its cells; see anchor
for a range that should not.
OptionalignoreIf true, the listener will not be called when the data
within the range changes.
OptionalonceIf true then will auto deregister once fired.
OptionalonCalled with every change event the hook receives, before it re-renders.
Uses the hook's own subscription. To receive events without re-rendering, use useRangeListener instead.
OptionalweaklyIf true then the listener will be weakly and will be auto removed it the listener is gc'ed.
Options shared by the cell-binding hooks.