Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > MenuOption
Açılır menüdeki tek bir seçenek. Menü ayırıcı öğesi için separator
dize değişmezi veya normal işlem menüsü öğeleri için bir dizi olabilir. İkinci durumda, ilk öğe kullanıcı tarafından okunabilen değerdir (metin, ImageProperties nesnesi veya HTML öğesi) ve ikinci öğe ise dile duyarlı olmayan değerdir.
İmza:
export type MenuOption = [string | ImageProperties | HTMLElement, string] | 'separator';
Referanslar: ImageProperties
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `MenuOption` type defines a single option within a dropdown menu. It's structured as a tuple, with two elements. The first element is the human-readable representation of the option, which can be either a string or an image. The second element is a language-neutral string value associated with that option. This type is used within the Blockly system.\n"]]