点击一次可以在Y方向滚动50px怎么做?

0

$ionicScollDelegate.scrollTo("0px","50px"[,true]); 或 $ionicScollDelegate.scrollTo(0px,50px[,true]); 这么些毫无反应,该怎么写?

  • 0
    ciga 88个月前 回答

    []表示可选的参数,因此这样调用:

    $ionicScollDelegate.scrollTo("0px","50px");