Skip to content

Commit cb33532

Browse files
committed
feat: added new example for animation
1 parent c03a107 commit cb33532

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/app/app.component.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,18 @@ <h2><i data-feather="play"></i> Single select dropdown</h2>
6262
</div>
6363
</div>
6464
</div>
65+
<div class="example">
66+
<h2><i data-feather="play"></i>With animation and without search/footer</h2>
67+
<div class="row">
68+
<div class="col-md-6">
69+
<div class="form-group">
70+
<label class="sr-only" for="exampleInputAmount">Amount (in dollars)</label>
71+
<input type="text" placeholder="choose" class="form-control" choosySingleSelect [options]="universities" [config]="{search:{enable:false},footer:{enable:false},dropdown:{animation:true}}"
72+
/>
73+
</div>
74+
</div>
75+
</div>
76+
</div>
6577

6678
<div class="example">
6779
<h2><i data-feather="play"></i> Custom template</h2>

src/styles.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
$col--primary:#21c4e0;
22
$col--sec:#7cdced;
3-
$col--bg:#fcf8ff;
3+
$col--bg:#F7F8FA;
44
$col--text:#70949a;
55
$col--border:#baccce;
66
body {
77
font-family: 'Nunito', sans-serif;
88
background-color: $col--bg;
99
color: $col--text;
10+
height: 2000px;
1011
}
1112

1213
.navbar-default {

0 commit comments

Comments
 (0)