TinyBase logoTinyBase

SliceRowIdsListener

The SliceRowIdsListener type describes a function that is used to listen to changes to the Row Ids in a Slice.

(
  indexes: Indexes,
  indexId: Id,
  sliceId: Id,
): void
TypeDescription
indexesIndexes

A reference to the Indexes object that changed.

indexIdId

The Id of the Index that changed.

sliceIdId

The Id of the Slice that changed.

returnsvoid

This has no return value.

A SliceRowIdsListener is provided when using the addSliceRowIdsListener method. See that method for specific examples.

When called, a SliceRowIdsListener is given a reference to the Indexes object, the Id of the Index that changed, and the Id of the Slice whose Row Ids changed.