0.0.79 • Published 9 days ago

ip-d14-slider v0.0.79

Weekly downloads
-
License
MIT
Repository
github
Last release
9 days ago

Installation:

Step 1:

Install the ip-slider component as a dependency in the project:

npm install ip-d14-slider 

Step 2:

Import module in script file:

import '../node_modules/ip-d14-slider/dist/ip-slider/ip-slider.esm';

Usage:

To use the component, we make us of tag: As input, we have the following options:

Inputs

  • slide-title: represents the title of the slider
  • slide-gap: to define the spacing between slides
  • is-slide-bullet: this option indicates which bullet is active
  • is-previous-next-navigation: the navigation choice for next or previous
  • item-to-show: represents the number of items to display
  • previous-btn-aria: to go to the previous
  • next-btn-aria: to go to the next one
  • bullet-btn-aria: represents the bullet of the element to display
  • bullet-btn-aria-to: indicates the order and direction of the slide

e.g:

<ip-slider
  slide-title="Slider Title"
  slide-gap="30"
  is-slide-bullet="true"
  is-previous-next-navigation="true"
  item-to-show="3"
  previous-btn-aria="Show previous slides"
  next-btn-aria="Show next slides"
  bullet-btn-aria="Show slides"
  bullet-btn-aria-to="to"
>

Panels content

The slide element should have as attribute slot="slide-1" and value of slide-*

e.g:

<div slot="slide-1"> 
 --content 1--
</div>

<div slot="slide-2"> 
 --content 2--
</div>

<div slot="slide-3"> 
 --content 3--
</div>

Customization:

We have a set of predefined variable used to customisation the slide:

  • --ip-slider-primary-color
  • --ip-slider-secondary-color
  • --ip-slider-font-primary
  • --ip-slider-font-secondary

By default, the value of --ip-slider-arrow-border-on-hover is white. To use a different value, set this variable to the desired color:

  • --ip-slider-arrow-border-on-hover

To update the values use the following:

ip-slide {
  --ip-acc-primary-color: #006342;
  --ip-acc-secondary-color: #000000;
}
0.0.79

9 days ago

0.0.78

15 days ago

0.0.76

1 month ago

0.0.77

1 month ago

0.0.75

1 month ago

0.0.73

1 month ago

0.0.74

1 month ago

0.0.71

1 month ago

0.0.72

1 month ago

0.0.70

8 months ago

0.0.62

11 months ago

0.0.63

11 months ago

0.0.64

11 months ago

0.0.65

10 months ago

0.0.66

10 months ago

0.0.67

10 months ago

0.0.68

10 months ago

0.0.69

10 months ago

0.0.60

11 months ago

0.0.61

11 months ago

0.0.59

1 year ago

0.0.51

1 year ago

0.0.52

1 year ago

0.0.53

1 year ago

0.0.54

1 year ago

0.0.55

1 year ago

0.0.56

1 year ago

0.0.57

1 year ago

0.0.58

1 year ago

0.0.50

1 year ago

0.0.48

1 year ago

0.0.49

1 year ago

0.0.40

1 year ago

0.0.41

1 year ago

0.0.42

1 year ago

0.0.43

1 year ago

0.0.44

1 year ago

0.0.45

1 year ago

0.0.46

1 year ago

0.0.47

1 year ago

0.0.37

1 year ago

0.0.38

1 year ago

0.0.39

1 year ago

0.0.36

1 year ago

0.0.35

1 year ago

0.0.33

1 year ago

0.0.32

1 year ago

0.0.31

1 year ago

0.0.30

1 year ago

0.0.29

1 year ago

0.0.28

1 year ago

0.0.27

1 year ago

0.0.26

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago