gm-slider
v0.0.7
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
Downloads
4
Readme
GM-Slider
This library was generated with Angular CLI version 13.2.0.
Code scaffolding
Run ng generate component component-name --project gm-slider
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project gm-slider
.
Note: Don't forget to add
--project gm-slider
or else it will be added to the default project in yourangular.json
file.
Install
Run npm i gm-slider
Component
<gm-slider></gm-slider>
Api
| Name | Type | Description | |:-----|:-----------------|:------------------------------------------------------------------------| | images | GmSliderModel[ ] | Array with image objects | | isButton | boolean | Show toggle buttons? Default false | | isFooterCountText | boolean | Show number of objects? Default false | | isSwipe | boolean | Enable swipe? Default false | | isPreview | boolean | Enable Preview? Default false | | previewDuration | number | Preview duration in seconds. Default 3 sec | | previewRepeatAfterAFewSeconds | number | After what time should I repeat the preview? in seconds. Default 15 sec |