0.0.5 • Published 3 years ago

@andre1678/imax-slider v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

ImaxSlider

This library was generated with Angular CLI version 11.1.2.

Code scaffolding

Run ng generate component component-name --project imax-slider to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project imax-slider.

Note: Don't forget to add --project imax-slider or else it will be added to the default project in your angular.json file.

Build

Run ng build imax-slider to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build imax-slider, go to the dist folder cd dist/imax-slider and run npm publish.

Running unit tests

Run ng test imax-slider to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Basic Usage Example

In Your Component

Create a config object

 config: any = {
      Slides: [
           {
                SlideSrc: "{path to image}",
                SlideTitle: "{slider title",
                SlideDescription: "{slider description}"
           },
           {
                SlideSrc: "{path to image}",
                SlideTitle: "{slider title",
                SlideDescription: "{slider description}"
           },
      ]
 }

In Your Template

Simply use the element in your HTML, passing the config object.

<ic-imax-slider Config="config">

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago