Shared Element
Create smooth transition between individual DOM elements. Demo
Installation
OR
yarn add shared-element or npm install shared-element
Usage
let transition = from to ;transition;transition;
Config
Methods
Init
Properties - type: Object
Key | Default | Type |
---|---|---|
duration |
300 | number |
easing |
easeInOutQuint | string |
withOverlay |
true | boolean |
delay |
0 | number |
CSS
format: {property: [from, to]}
example
transition;
Points
example
transition;