blockly > ContextMenu > göster
ContextMenü.show() işlevi
Menüyü seçenekler listesine göre oluşturun ve menüyü gösterin.
İmza:
export declare function show(e: PointerEvent, options: (ContextMenuOption | LegacyContextMenuOption)[], rtl: boolean): void;
Parametreler
Parametre | Tür | Açıklama |
---|---|---|
e | PointerEvent | Fare etkinliği. |
seçenekler | (ContextMenüOption | LegacyContextMenüOption)[] | Menü seçenekleri dizisi. |
rtl | boolean | RTL ise doğru, LTR ise yanlış. |
İadeler:
void