Skip to content

disableCreateDestroy

disableCreateDestroy(): void

Defined in: aberdeen.ts:2421

Make the create and destroy special properties no-ops.

This is useful from within automated testing environments, where the transitioning new and lingering old elements may make writing reliable selectors difficult.

As this is only intended for testing, there’s no way to re-enable the special properties once disabled.

void