Skip to content

Navigation

Nikita Yudin edited this page Dec 28, 2023 · 1 revision

Description

Navigation module adds useful methods to navigate items.

Properties

Let's look on list of all available properties:

Name Type Default Description
enabled bool true Boolean property to use to enable/disable navigation.
focus_nav bool false Boolean property that determines whether the navigation buttons will be displayed during focus or continuously. Set true so that the navigation buttons are displayed only when in focus.
disable_on_edges bool false Boolean property that determines whether the navigation buttons will be disabled on the edges.
disabled_buttons bool false Sets the disabled property for navigation buttons.

Methods

After we initialize we have its initialized instance in variable with helpful methods:

Name Return Description
initialize(owner: SBBaseButton) void Initializes the navigation module.
disable() void Disable navigation.
enable() void Enable navigation.