Class RVMenuSubmenuItem

Class representing an object that is used to show a submenu item. This item can contain an icon, title text, and click action of a menu item.

Important Note: Currently, this class cannot be used for creating new submenu items, or editing items contained in application supplied submenus.

Hierarchy

Index

Accessors

appSuppliedItem

  • get appSuppliedItem(): null | object
  • set appSuppliedItem(value: null | object): void
  • Retrieve the internal application supplied item used to represent the menu item.

    Returns null | object

  • Assign the internal application supplied item used to represent the menu item.

    Parameters

    • value: null | object

    Returns void

icon

  • get icon(): null | object
  • set icon(value: null | object): void
  • Retrieve the icon shown to the left of the menu label.

    Returns null | object

  • Icon shown to the left of the menu label.

    Parameters

    • value: null | object

    Returns void

isAppSupplied

  • get isAppSupplied(): boolean
  • set isAppSupplied(value: boolean): void
  • Retrieve the property that determines if a menu item was internally supplied.

    Returns boolean

  • A set-once property to determine if a menu item was internally supplied.

    Parameters

    • value: boolean

    Returns void

isHidden

  • get isHidden(): boolean
  • set isHidden(value: boolean): void
  • Retrieve property used to determine if the menu item will be hidden from view.

    Returns boolean

  • Property used to determine if the menu item should be hidden from view.

    Parameters

    • value: boolean

    Returns void

revealElement

  • get revealElement(): object
  • Retrieve the internal intermediate element used to represent the menu item.

    Returns object

title

  • get title(): string
  • set title(value: string): void
  • Retrieve the string used as the label for the menu item.

    Returns string

  • A string used as the label for the menu item.

    Parameters

    • value: string

    Returns void