Skip to content

@serenity-is/corelib / LayoutTimer / trigger

Function: trigger()

trigger(key): void

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

Manually triggers the handler for a registration if the element is currently visible (positive width and height). Re-stores the baseline before and after invoking the handler.

Parameters

key

number

Registration key returned by onSizeChange.

Returns

void