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

  • get appSuppliedItem(): object | null

    Retrieve the internal application supplied item used to represent the menu item.

    Returns object | null

  • set appSuppliedItem(value: object | null): void

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

    Parameters

    • value: object | null

    Returns void

  • get icon(): object | null

    Retrieve the icon shown to the left of the menu label.

    Returns object | null

  • set icon(value: object | null): void

    Icon shown to the left of the menu label.

    Parameters

    • value: object | null

    Returns void

  • get isAppSupplied(): boolean

    Retrieve the property that determines if a menu item was internally supplied.

    Returns boolean

  • set isAppSupplied(value: boolean): void

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

    Parameters

    • value: boolean

    Returns void

  • get isHidden(): boolean

    Retrieve property used to determine if the menu item will be hidden from view.

    Returns boolean

  • set isHidden(value: boolean): void

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

    Parameters

    • value: boolean

    Returns void

  • get title(): string

    Retrieve the string used as the label for the menu item.

    Returns string

  • set title(value: string): void

    A string used as the label for the menu item.

    Parameters

    • value: string

    Returns void