Namespace: cssProps

Hammer.defaults. cssProps

Some CSS properties can be used to improve the working of Hammer.
Add them to this method and they will be set when creating a new Manager.

Members

staticHammer.defaults.cssProps.contentZoomingString

Specifies whether zooming is enabled. Used by IE10>

Default Value:
  • 'none'

staticHammer.defaults.cssProps.tapHighlightColorString

Overrides the highlight color shown when the user taps a link or a JavaScript
clickable element in iOS. This property obeys the alpha value, if specified.

Default Value:
  • 'rgba(0,0,0,0)'

staticHammer.defaults.cssProps.touchCalloutString

Disables the default callout shown when you touch and hold a touch target.
On iOS, when you touch and hold a touch target such as a link, Safari displays
a callout containing information about the link. This property allows you to disable that callout.

Default Value:
  • 'none'

staticHammer.defaults.cssProps.touchSelectString

Disable the Windows Phone grippers when pressing an element.

Default Value:
  • 'none'

staticHammer.defaults.cssProps.userDragString

Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.

Default Value:
  • 'none'

staticHammer.defaults.cssProps.userSelectString

Disables text selection to improve the dragging gesture. Mainly for desktop browsers.

Default Value:
  • 'none'