Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70904

Ionic 3 sliders zoom error

$
0
0

@aboulfotouh wrote:

i cant use sliders zoom property
here is my code

<ion-header>
    <ion-navbar></ion-navbar>
</ion-header>

<ion-content>
    <ion-slides pager="true" zoom="true" paginationType="bullets" effect="fade">
        <ion-slide>
            <img src="imgPath" />
        </ion-slide>
        <ion-slide>
            <img src="imgPath" />
        </ion-slide>
        <ion-slide>
            <img src="imgPath" />
        </ion-slide>
    </ion-slides>
</ion-content>

from the mobile i cant zoom
but in the browser when i click double tab on the image i see this error

Error
Close
Runtime Error
Cannot read property 'getAttribute' of null
Stack
TypeError: Cannot read property 'getAttribute' of null
    at toggleZoom (http://localhost:8100/build/main.js:72374:64)
    at http://localhost:8100/build/main.js:72486:13
    at SafeSubscriber.schedulerFn [as _next] (http://localhost:8100/build/main.js:4339:36)
    at SafeSubscriber.__tryOrUnsub (http://localhost:8100/build/main.js:15655:16)
    at SafeSubscriber.next (http://localhost:8100/build/main.js:15604:22)
    at Subscriber._next (http://localhost:8100/build/main.js:15546:26)
    at Subscriber.next (http://localhost:8100/build/main.js:15510:18)
    at EventEmitter.Subject.next (http://localhost:8100/build/main.js:19057:25)
    at EventEmitter.emit (http://localhost:8100/build/main.js:4313:76)
    at http://localhost:8100/build/main.js:111192:37

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70904

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>