Skip to content

Angular.js directive for observing visibility changes of DOM elements.

License

Notifications You must be signed in to change notification settings

vissense/angular-vissense

Repository files navigation

Build Status

angular-vissense

Angular directives for VisSense.js.

  <div vissense-monitor
      on-hidden="state = 'hidden'"
      on-visible="state = 'visible'"
      on-fullyvisible="state = 'fully visible'">
      
    this element is currently {{ state }}
    <!-- more important content here -->
    
  </div>

Contribute

Clone Repository

git clone https://github.com/vissense/angular-vissense.git

License

The project is licensed under the MIT license. See LICENSE for details.

About

Angular.js directive for observing visibility changes of DOM elements.

Resources

License

Stars

Watchers

Forks

Packages

No packages published