UNPKG

@evan.network/ui-angular-core

Version:

The angular-core operates as an global and central library for the evan.network Angular 5 frontend development. Using this project you will be able to to the following things:

21 lines (20 loc) 600 B
import { AnimationEntryMetadata } from 'angular-libs'; /** * Create an transition to create an tab sliding transition effect. * @Component({ * ... * animations: [ * createTabSlideTransition(), * ] * }) * * <div class="evan-tabs-container" [@tabSlideTransition]="activeTab"> * <div *ngIf="activeTab === 0"></div> * <div *ngIf="activeTab === 1"></div> * <div *ngIf="activeTab === 2"></div> * </div> * * @return {AnimationEntryMetadata} the animation definition */ declare const createTabSlideTransition: AnimationEntryMetadata; export { createTabSlideTransition };