You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with class .siema where I don't have declaration on the page. I use wordpess and I had declaration only in page front-page.php and I when go to any other website for examaple search.php I have error in my console.
My errror: main.js?ver=4.7.5:1901 Uncaught TypeError: Cannot read property 'offsetWidth' of null
I'm also getting this issue, but in my case it's because ngx-siema is expecting to be rendered and have its selector available on DOM ready, but I'm loading the carousel in an Angular modal, so the content isn't present until the modal component is created on user action. I can solve this by reworking how the modal works, but it'd be useful to have some way of having Siema delay resolving the specified selector until (for example) a callback was fired from a button.
I have a problem with class .siema where I don't have declaration on the page. I use wordpess and I had declaration only in page
front-page.php
and I when go to any other website for examaplesearch.php
I have error in my console.My errror:
main.js?ver=4.7.5:1901 Uncaught TypeError: Cannot read property 'offsetWidth' of null
var mySiema = new Siema({ perPage: { 480: 2, 1024: 3, 1200: 4, }, loop: true, }); document.querySelector('.prev').addEventListener('click', function() { return mySiema.prev(); }); document.querySelector('.next').addEventListener('click', function() { return mySiema.next(); });
Maybe you have any solve my problem.
The text was updated successfully, but these errors were encountered: