-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (68 loc) · 3.25 KB
/
Copy pathindex.html
File metadata and controls
68 lines (68 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head>
<title>Carousel Animations</title>
<meta charset="UTF-8" />
<link rel="shortcut icon" href="https://dl.infragistics.com/x/img/browsers/wc.png" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Kanit&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Titillium Web" />
<link rel="stylesheet" href="https://dl.infragistics.com/x/css/samples/shared.v8.css" type="text/css" />
</head>
<body>
<div id="root">
<div class="carousel-wrapper">
<div class="action-wrapper">
<div class="action">
<span class="action-label">Animation</span>
<igc-select>
<igc-select-item value="slide" selected><span>Slide</span></igc-select-item>
<igc-select-item value="fade"><span>Fade</span></igc-select-item>
<igc-select-item value="none"><span>None</span></igc-select-item>
</igc-select>
</div>
<div class="action">
<igc-switch label-position="before"><span>Vertical</span></igc-switch>
</div>
</div>
<igc-carousel hide-indicators animation-type="slide">
<igc-carousel-slide>
<article class="slide-wrapper">
<div class="slide-content">
<span class="slide-label">01</span>
<h3>Slide transition</h3>
<p>Moves content horizontally or vertically to preserve directional context.</p>
<div class="slide-details"><span>Best for sequential browsing</span><strong>320ms</strong></div>
</div>
<div class="slide-preview" aria-hidden="true"><span></span><span></span><span></span></div>
</article>
</igc-carousel-slide>
<igc-carousel-slide>
<article class="slide-wrapper">
<div class="slide-content">
<span class="slide-label">02</span>
<h3>Fade transition</h3>
<p>Cross-fades between slides when the relationship between items is looser.</p>
<div class="slide-details"><span>Best for featured content</span><strong>240ms</strong></div>
</div>
<div class="slide-preview" aria-hidden="true"><span></span><span></span><span></span></div>
</article>
</igc-carousel-slide>
<igc-carousel-slide>
<article class="slide-wrapper">
<div class="slide-content">
<span class="slide-label">03</span>
<h3>No transition</h3>
<p>Updates the active slide immediately for reduced motion or dense workflows.</p>
<div class="slide-details"><span>Best for direct state changes</span><strong>0ms</strong></div>
</div>
<div class="slide-preview" aria-hidden="true"><span></span><span></span><span></span></div>
</article>
</igc-carousel-slide>
</igc-carousel>
</div>
</div>
<!-- This script is needed only for parcel and it will be excluded for webpack -->
<% if (false) { %><script src="src/index.ts"></script><% } %>
</body>
</html>