Skip to content

shrink

shrink(el): Promise<void>

Defined in: transitions.ts:56

Do a shrink transition for the given element, and remove it from the DOM afterwards. This is meant to be used as a handler for the destroy property.

HTMLElement

The element to transition and remove.

The transition doesn’t look great for table elements, and may have problems for other specific cases as well.

Promise<void>