docs: function validateAction (action, interactable) {
          if (!isObject(action)) { return null; }
  
          var actionName = action.name,
              options = interactable.options;
  
          if ((  (actionName  === 'resize'   && options.resize.enabled )
              || (actionName      === 'drag'     && options.drag.enabled  )
              || (actionName      === 'gesture'  && options.gesture.enabled))
              && actionIsEnabled[actionName]) {
  
              if (actionName === 'resize' || actionName === 'resizeyx') {
                  actionName = 'resizexy';
              }
  
              return action;
          }
          return null;
      }