An open API service indexing awesome lists of open source software.

https://github.com/ciriousjoker/ngx-transition-content

Switch between content: Fade out, transition height, fade in.
https://github.com/ciriousjoker/ngx-transition-content

Last synced: over 1 year ago
JSON representation

Switch between content: Fade out, transition height, fade in.

Awesome Lists containing this project

README

          

# NgxTransitionContent [(changelog)](CHANGELOG.md)

[![npm](https://img.shields.io/npm/l/ngx-transition-content.svg)](https://github.com/ciriousjoker/ngx-transition-content/blob/main/LICENSE)

Transition content: Fade out, transition dimensions, fade in.

It was built for dialog content where the dialog width stays the same for every page of content.
Read the caveats before using it.

## Transition

> Fade out old content -> transition dimensions to fit the new content -> fade in new content

### Demo

https://user-images.githubusercontent.com/16866223/158490182-56702fef-d034-44f3-a71b-e5ad5bef87d7.mov

## Usage:

```html


Content1


Content1


Content1




Content2


Content2


Content2


Content2


Content2


```