ngx-fullscreen-slider
v0.0.14
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
Downloads
5
Maintainers
Readme
NgxFullscreenSlider
This library was generated with Angular CLI version 8.2.14.
Working perfect in Angular 8.x.x Application
How To Use
Add this
NgxFullscreenSlider
indeclarations
Import using this
import { NgxFullscreenSlider } from 'ngx-fullscreen-slider';
Add this component in any html like this
<ngx-fullscreen-slider setHeight="500px" setWidth="500px" [slides]=slidesArray></ngx-fullscreen-slider>
slides property is required.
As package name describes this slider's nature, however you still can configure height and width of slider by setHeight and setWidth properties. setHeight and setWidth are optional, You can directly assign values like this
setHeight="500px"
or you can use variable like this[setHeight]=heightVariable
Example
slidesArray = [{ title: "Title", description: "Description", image: "YourImageUrl", }]
Properties for slide array
| Property | Datatype | | -------- | ----- | | title | string | | description | string | | image | string | | backgroundColor | string | | textColor | string | | textBackgroundColor | string |