mtr / angular-iscroll

AngularJS module that enables iScroll 5 functionality, wrapping it in an easy-to-use directive.
MIT License
74 stars 27 forks source link

Why does it always appear "scroll-off" #35

Closed iq9891 closed 7 years ago

iq9891 commented 8 years ago

"iscroll-on"什么时候出现,"iscroll-off"什么时候出现?我把模块引进去,指令写好,总是出现"iscroll-off"

<div class="iscroll-wrapper" iscroll style="position: relative;  width: 100%;height: 300px;overflow: hidden;background-color: #777;">
        <div class="iscroll-scroller" style="position: absolute;width: 100%;min-height: 100%;background-color: #fff;">
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
          <div class="">212</div>
        </div>
      </div>

I was in the "generator-angular-fullstack" template referenced in the project, the module references placed in app.js

angular:1.5.3