ngx-media-slider v0.1.20
NGX media slider (multi purpose)
This library was generated with Angular CLI version 8.0.3.
Install
This is angular module available through the npm registry.
$ npm install ngx-media-slider
Using
Example
imports
...
import { NgxMediaSliderModule } from 'ngx-media-slider';
...
...
imports: [
NgxMediaSliderModule
],
...
Use
use in component
<lib-ngx-media-slider
[images]="images"
[width]="80"
[height]="50"
[interval]="3000"
[time]="0.6"
[controlers]="true"
[dots]="true"
>
</lib-ngx-media-slider>
Width is int in range 0 - 100 (optional)
Height is int in range 0 - 100 (optional)
Interval is int in Millisecond
time is int in second
Controlers is boolean (optional)
Dots is boolean (optional)
Images is Array of Images and Videos given like example:
[ { "type": "img", "src": "assets/img/example.jpg" }, { "type": "video", "src": "assets/video/example.mp4" } ]
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago