0.0.9 • Published 5 months ago

wts-slider v0.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Angular Image Slider v-17+

Angular 17 Image Slider is a versatile and feature-rich component that enhances user experiences by seamlessly presenting a collection of images in a visually appealing and interactive way. Leveraging the power of Angular, this slider provides a dynamic and customizable solution for showcasing image content within your web applications.

Instaltion

npm install --save wts-slider

import { Component } from "@angular/core";

import { WtsSliderModule, SliderOptions } from "wts-slider";

@Component({
  selector: "<COMPONENT-SELECTOR>",
  standalone: true,
  imports: [WtsSliderModule],
  templateUrl: "<COMPONENT>.html",
  styleUrl: "<COMPONENT>.scss",
})
export class MyComponent {
  options: SliderOptions = {};
}

HTML

  <wts-slider [options]="options" >
      <div slider class="__slider" style="background-color: aqua;">1</div>
      <div slider class="__slider" style="background-color: beige;">2</div>
      <div slider class="__slider" style="background-color: yellow;">3</div>
      <div slider class="__slider" style="background-color: blue;">4</div>
      <div slider class="__slider" style="background-color: burlywood;">5</div>
      <div slider class="__slider" style="background-color: darkgreen;">6</div>
      <div slider class="__slider" style="background-color:  darksalmon;">7</div>
  </wts-slider>

Properties

NameDescription
(Optional) options: SliderOptions*Default: {}*

Example

Stackblitz Demo

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago