dist/vue-inview.js
function (el) {
  var normal = el.querySelectorAll('[animate]')
  var toggle = el.querySelectorAll('[animate-toggle]')
  var inverse = el.querySelectorAll('[animate-toggle-inverse]')
  if (normal !== null) element_looping(normal, function (els) {
    var attr = els.getAttribute('animate')
    object_animation(attr, els)
  })
  if (toggle !== null) element_looping(toggle, function (els) {
    var attr = els.getAttribute('animate-toggle')
    object_animation(attr, els, 'toggle')
  })
  if (inverse !== null) element_looping(inverse, function (els) {
    var attr = els.getAttribute('animate-toggle-inverse')
    object_animation(attr, els, 'toggle.inverse')
  })
}
function (el) {
  var normal = el.querySelectorAll('[animate]')
  var toggle = el.querySelectorAll('[animate-toggle]')
  var inverse = el.querySelectorAll('[animate-toggle-inverse]')
  if (normal !== null) element_looping(normal, function (els) {
    var attr = els.getAttribute('animate')
    object_animation(attr, els)
  })
  if (toggle !== null) element_looping(toggle, function (els) {
    var attr = els.getAttribute('animate-toggle')
    object_animation(attr, els, 'toggle')
  })
  if (inverse !== null) element_looping(inverse, function (els) {
    var attr = els.getAttribute('animate-toggle-inverse')
    object_animation(attr, els, 'toggle.inverse')
  })
}
(el → dom)
- check and get animation attribute