How to check if element is visible in Zepto

  1. function isVis(ele) {
  2.     if(ele.css(‘display’)!=’hidden’ && ele.css(‘visibility’)!=’hidden’ && ele.height()>0) {
  3.         return(true);
  4.     } else {
  5.         return(false);
  6.     }
  7. }
Tags:

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!