0.0.3 • Published 5 years ago

ngx-swing v0.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

ngx-swing 🍺

circleci npm version npm

Angular 6+ compatible swing components

Demo: Click to see

Installation

  1. Import the module
import { NgxSwingModule } from 'ngx-swing';
  1. Add the module to your NgModule
@NgModule({
	...
    imports: [
    	....
        NgxSwingModule
        ....
    ]
})
  1. Enjoy with components
<div swingStack>
	<div swingCard>Card1</div>
	<div swingCard>Card2</div>
	<div swingCard>Card3</div>
	<div swingCard>Card4</div>
</div>

OR

<swing-stack>
	<swing-card>Card1</swing-card>
	<swing-card>Card2</swing-card>
	<swing-card>Card3</swing-card>
	<swing-card>Card4</swing-card>
</swing-stack>

Road Map

  1. Implementing the card events (move, free, throwOut, throwIn)
  2. Ability to remove the cards from DOM after throwOut (for avoiding from possible memory leak)
  3. Ability to throwOut cards without user interaction.

⚡ This project is under active development.

0.0.3

5 years ago

0.0.2

6 years ago

0.0.1

6 years ago