You are here

function animate_on_event in Animate Any 8

jQuery event options.

2 calls to animate_on_event()
AnimateAnyForm::buildForm in src/Form/AnimateAnyForm.php
Build Animate Any Setting Form.
AnimateEditForm::buildForm in src/Form/AnimateEditForm.php
Form constructor.

File

./animate_any.module, line 104

Code

function animate_on_event() {
  return [
    'none' => t('-- No event --'),
    'onload' => t('On page load'),
    'scroll' => t('On page scroll'),
    'click' => t('Click'),
    'mouseover' => t('Hover'),
    'mouseout' => t('Mouse Out'),
    'mousedown' => t('Mouse Down'),
    'mouseup' => t('Mouse Up'),
    'mouseenter' => t('Mouse Enter'),
    'mouseleave' => t('Mouse Leave'),
    'mousemove' => t('Mouse Move'),
  ];
}