Sha256: 545439e2b945520caf5154a9c7b068292830b61c2c4c8b32c08a95b625494ffb

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

# @title Vedeu Menu Events

## Menu Events

Note: 'name' is a Symbol unless mentioned otherwise.

### :_menu_bottom_
Makes the last menu item the current menu item.

    Vedeu.trigger(:_menu_bottom_, name)

### :_menu_current_
Returns the current menu item.

    Vedeu.trigger(:_menu_current_, name)

### :_menu_deselect_
Deselects all menu items.

    Vedeu.trigger(:_menu_deselect_, name)

### :_menu_items_
Returns all the menu items with respective `current` or `selected`
boolean indicators.

    Vedeu.trigger(:_menu_items_, name)

### :_menu_next_
Makes the next menu item the current menu item, until it reaches the
last item.

    Vedeu.trigger(:_menu_next_, name)

### :_menu_prev_
Makes the previous menu item the current menu item, until it reaches
the first item.

    Vedeu.trigger(:_menu_prev_, name)

### :_menu_selected_
Returns the selected menu item.

    Vedeu.trigger(:_menu_selected_, name)

### :_menu_select_
Makes the current menu item also the selected menu item.

    Vedeu.trigger(:_menu_select_, name)

### :_menu_top_
Makes the first menu item the current menu item.

    Vedeu.trigger(:_menu_top_, name)

### :_menu_view_
Returns a subset of the menu items; starting at the current item to
the last item.

    Vedeu.trigger(:_menu_view_, name)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vedeu-0.6.27 docs/events/menu.md
vedeu-0.6.26 docs/events/menu.md
vedeu-0.6.25 docs/events/menu.md
vedeu-0.6.24 docs/events/menu.md
vedeu-0.6.23 docs/events/menu.md
vedeu-0.6.22 docs/events/menu.md
vedeu-0.6.21 docs/events/menu.md