Skip to content

cssTransition

cssTransition(element, value): void

Defined in: core/dom/styles.ts:17

Sets the transition of an element, with the -webkit- prefixed property as well.

HTMLElement

Element to style.

string

The transition, e.g. 'opacity 0.3s ease'.

void