Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8f9afe4

Browse filesBrowse files
committed
fix(carousel.config): set default interval to 0
1 parent 86a6aaf commit 8f9afe4
Copy full SHA for 8f9afe4

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎projects/coreui-angular/src/lib/carousel/carousel.config.ts

Copy file name to clipboardExpand all lines: projects/coreui-angular/src/lib/carousel/carousel.config.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export class CarouselConfig {
99
/* Default direction of auto changing of slides */
1010
direction: 'next' | 'prev' = 'next';
1111
/* Default interval of auto changing of slides */
12-
interval = 3000;
12+
interval = 0;
1313
}

‎projects/coreui-angular/src/lib/carousel/carousel/carousel.component.spec.ts

Copy file name to clipboardExpand all lines: projects/coreui-angular/src/lib/carousel/carousel/carousel.component.spec.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('CarouselComponent', () => {
4141
expect(component.activeIndex()).toBe(0);
4242
expect(component.animate()).toBe(true);
4343
expect(component.direction()).toBe('next');
44-
expect(component.interval()).toBe(3000);
44+
expect(component.interval()).toBe(0);
4545
});
4646

4747
it('should call timer functions', fakeAsync(() => {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.