navigate


Description:

public bool navigate (NavigationDirection direction)

Navigates to the previous or next child.

Note:

See [the migration guide](migrating-to-breakpoints.html#replace-adwleaflet)

The child must have the [property@LeafletPage:navigatable] property set to `TRUE`, otherwise it will be skipped.

This will be the same child as returned by [method@Leaflet.get_adjacent_child] or navigated to via swipe gestures.

Parameters:

this

a leaflet

direction

the direction

Returns:

whether the visible child was changed