Skip to content

@aninest/extensions / DeduplicatedStart / DeduplicatedStartLayer

DeduplicatedStartLayer<Animating>

ts
type DeduplicatedStartLayer<Animating>: Layer<Animating> & object;

Enables mounting to an animation and subscribing to the deduplicated start events.

Type declaration

subscribe()

ts
subscribe: (sub) => unsubscribe;

Parameters

sub: Listener<undefined>

Returns

unsubscribe

Type Parameters

Animating extends UnknownRecursiveAnimatable

Deprecated

Defined in

../../extensions/src/deduplicatedStart.ts:21