You are here

function beautytips_manager_get_triggers in BeautyTips 8

Same name and namespace in other branches
  1. 6.2 beautytips_manager.module \beautytips_manager_get_triggers()
  2. 7.2 beautytips_manager.module \beautytips_manager_get_triggers()

Retrieve a list of all possible triggers.

TODO: Don't include all of these.

1 call to beautytips_manager_get_triggers()
CustomTipsEditForm::buildForm in beautytips_manager/src/Form/CustomTipsEditForm.php
Form constructor.

File

beautytips_manager/beautytips_manager.module, line 120
Code related to defining and displaying custom beautytips and styles.

Code

function beautytips_manager_get_triggers() {
  return [
    'hover' => 'hover',
    'hoverIntent' => 'hoverIntent',
    'click' => 'click',
    'dblclick' => 'dblclick',
    'blur' => 'blur',
    'focus' => 'focus',
    'mouseover' => 'mouseover',
    'mouseout' => 'mouseout',
    'mousedown' => 'mousedown',
    'mousemove' => 'mousemove',
    'mouseenter' => 'mouseenter',
    'mouseleave' => 'mouseleave',
    'change' => 'change',
    'select' => 'select',
    'submit' => 'submit',
    'keydown' => 'keydown',
    'keypress' => 'keypress',
    'keyup' => 'keyup',
    'error' => 'error',
    'load' => 'load',
    'unload' => 'unload',
    'resize' => 'resize',
    'scroll' => 'scroll',
  ];
}