u4bi-dev / ng-cover-flow

⛱ ng-cover-flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ng-cover-flow

Alt text

Install

Setup

import the CoverFlowModule module.

import { CoverFlowModule } from 'ng-cover-flow';
...

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    CoverFlowModule,
    ...
  ],
  providers: [],
  bootstrap: [AppComponent]
})

export class AppModule {
}

Add the cover-flow attribute element.

@Component({
  selector: 'sample',
  template:`
  <div cover-flow>
    <div></div>
    <div></div>
    ...
  </div>
  `
})
class Sample {}

That's it!

API REFERENCE

Name Type Description Default
cover-flow-disabled @Input all coverflow scrolling events is disabled. false

Todo

  • auto move scrolling
  • responsive sizing

License

MIT

About

⛱ ng-cover-flow

License:MIT License


Languages

Language:TypeScript 83.9%Language:JavaScript 8.4%Language:HTML 6.6%Language:CSS 1.1%