File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
playground/angular/src/app Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 44
44
< img src ="https://swiperjs.com/demos/images/nature-3.jpg " />
45
45
</ ng-template >
46
46
</ swiper >
47
+
48
+ < h3 > Custom pagination</ h3 >
47
49
< swiper
48
50
#swiperRef
49
51
[navigation] ="navigation "
Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ export function isObject(o) {
8
8
}
9
9
10
10
export function isShowEl ( val , obj , el ) {
11
- return ! (
12
- coerceBooleanProperty ( val ) !== true ||
13
- ( obj &&
11
+ return (
12
+ ( coerceBooleanProperty ( val ) === true && obj && ! obj . el ) ||
13
+ ! (
14
14
typeof obj !== 'boolean' &&
15
15
obj . el !== el ?. nativeElement &&
16
- ( typeof obj . el !== 'string' || typeof obj . el !== 'object' ) )
16
+ ( typeof obj . el === 'string' || typeof obj . el === 'object' )
17
+ )
17
18
) ;
18
19
}
19
20
You can’t perform that action at this time.
0 commit comments