Leaflet.canNavigateForward

bool canNavigateForward() @property

Get canNavigateForward property.

Returns

Whether gestures and shortcuts for navigating forward are enabled.

The supported gestures are:

  • One-finger swipe on touchscreens
  • Horizontal scrolling on touchpads (usually two-finger swipe)
  • Back/forward mouse buttons

The keyboard back/forward keys are also supported, as well as the

<kbd>Alt</kbd>+<kbd>→</kbd> shortcut for horizontal orientation, or <kbd>Alt</kbd>+<kbd>↓</kbd> for vertical orientation.

If the orientation is horizontal, for right-to-left locales, gestures and shortcuts are reversed.

Only children that have property@LeafletPage:navigatable set to TRUE can be navigated to.

Deprecated

void canNavigateForward(bool propval) @property

Set canNavigateForward property.

Parameters

propvalWhether gestures and shortcuts for navigating forward are enabled. The supported gestures are: One-finger swipe on touchscreens Horizontal scrolling on touchpads (usually two-finger swipe) * Back/forward mouse buttons The keyboard back/forward keys are also supported, as well as the <kbd>Alt</kbd>+<kbd>→</kbd> shortcut for horizontal orientation, or <kbd>Alt</kbd>+<kbd>↓</kbd> for vertical orientation. If the orientation is horizontal, for right-to-left locales, gestures and shortcuts are reversed. Only children that have property@LeafletPage:navigatable set to TRUE can be navigated to.

Deprecated