This is an easy use waterfall implementation for Angular 4+. For now, supporting latest Angular version.
-
ngx-waterfall
- gap: number
The gap width(px) between two columns.
- shouldListenToResize: boolean
Default to false. If true, the component will listen to window resize event to rerender the waterfall.
- afterRendered: EventEmitter
Emitted after render time.
- gap: number
-
ngx-waterfall-item
Used to point the items in the waterfall container.
Run yarn start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run npm test
to execute the unit tests via Karma.
Run npm run build:lib
to build the library. The build artifacts will be stored in the dist/
directory.
It is necessary the demo app should use library after built in the dist directory.
Run npm run e2e
to execute the end-to-end tests via Protractor.