Namespace: defaults

Hammer. defaults

default settings

Namespaces

cssProps

Members

staticHammer.defaults.domEventsBoolean

set if DOM events are being triggered.
But this is slower and unused by simple implementations, so disabled by default.

Default Value:
  • false

staticHammer.defaults.enableBoolean

Default Value:
  • true

staticHammer.defaults.inputClassNull function

force an input class

Default Value:
  • null

staticHammer.defaults.inputTargetNull EventTarget

EXPERIMENTAL FEATURE -- can be removed/changed
Change the parent input target element.
If Null, then it is being set the to main element.

Default Value:
  • null

staticHammer.defaults.presetArray

Default recognizer setup when calling Hammer()
When creating a new Manager these will be skipped.

staticHammer.defaults.touchActionString

The value for the touchAction property/fallback.
When set to compute it will magically set the correct value based on the added recognizers.

Default Value:
  • compute