Home

Awesome

ngx-word-rotation

@omnedia/ngx-word-rotation is an Angular library designed to facilitate word rotation animations within Angular applications.

Features

Installation

Install the library using npm:

npm install @omnedia/ngx-word-rotation

Usage

Import the NgxWordRotationComponent in your Angular module:

import { NgxWordRotationComponent } from '@omnedia/ngx-word-rotation';

@Component({
  ...
  imports: [
    ...
    NgxWordRotationComponent,
  ],
  ...
})

Use the component in your template:

<om-word-rotation [words]="['Hello', 'World']"></om-word-rotation>

API

<om-word-rotation
  [words]="words"
  [reverseAnimation]="reverseAnimation"
  [wordDelay]="wordDelay"
  [enterDelay]="enterDelay"
  styleClass="your-custom-class"
></om-word-rotation>

Starts the word rotation effect.

Contributing

Contributions are welcome. Please submit a pull request or open an issue to discuss your ideas.

License

This project is licensed under the MIT License.

For more information, visit the GitHub repository