PopupMenu

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

A new component


Properties

You can set the below properties in the UI part of the builder.

  • Target - it's a component value which is set to blank by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

Target

Property for Target

setPopupMenu.Target to 


Methods

You can set the below method blocks in the blocks section of the builder.

AddItem

Method for AddItem

callPopupMenu.AddItemitem
AddItemWithIcon

Method for AddItemWithIcon

callPopupMenu.AddItemWithIconitemicon
AddItems

Method for AddItems

callPopupMenu.AddItemsitemListiconList
Clear

Method for Clear

callPopupMenu.Clear
Dismiss

Method for Dismiss

callPopupMenu.Dismiss
RemoveItem

Method for RemoveItem

callPopupMenu.RemoveItemindex
Show

Method for Show

callPopupMenu.Show

Events

You can set the below event blocks in the blocks section of the builder.

MenuDismissed

Event for MenuDismissed

whenPopupMenu.MenuDismisseddo
MenuItemClick

Event for MenuItemClick

whenPopupMenu.MenuItemClick item do