Skip to content

@serenity-is/corelib / LayoutTimer / store

Function: store()

store(key): void

Defined in: src/compat/layouttimer.ts:116

Captures and stores the current size of a registered element without firing its handler. Used to reset the baseline so the next poll compares against the current dimensions.

Parameters

key

number

Registration key returned by onSizeChange / onShown / etc.

Returns

void