0.0.79 • Published 1 year ago

ip-d14-slider v0.0.79

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.78

1 year ago

0.0.76

1 year ago

0.0.77

1 year ago

0.0.75

1 year ago

0.0.73

1 year ago

0.0.74

1 year ago

0.0.71

1 year ago

0.0.72

1 year ago

0.0.70

2 years ago

0.0.62

2 years ago

0.0.63

2 years ago

0.0.64

2 years ago

0.0.65

2 years ago

0.0.66

2 years ago

0.0.67

2 years ago

0.0.68

2 years ago

0.0.69

2 years ago

0.0.60

2 years ago

0.0.61

2 years ago

0.0.59

2 years ago

0.0.51

2 years ago

0.0.52

2 years ago

0.0.53

2 years ago

0.0.54

2 years ago

0.0.55

2 years ago

0.0.56

2 years ago

0.0.57

2 years ago

0.0.58

2 years ago

0.0.50

2 years ago

0.0.48

2 years ago

0.0.49

2 years ago

0.0.40

3 years ago

0.0.41

3 years ago

0.0.42

2 years ago

0.0.43

2 years ago

0.0.44

2 years ago

0.0.45

2 years ago

0.0.46

2 years ago

0.0.47

2 years ago

0.0.37

3 years ago

0.0.38

3 years ago

0.0.39

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.33

3 years ago

0.0.32

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago