Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > ToolboxCategory > openIcon_
Açık bir simge görüntülemek için uygun sınıfları ekler.
İmza:
protected openIcon_(iconDiv: Element | null): void;
Parametreler
Parametre |
Tür |
Açıklama |
iconDiv |
Öğe | null |
Simgenin bulunduğu div. |
İadeler:
geçersiz
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: 2024-10-16 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: 2024-10-16 UTC."],[[["The `openIcon_` method is used to visually indicate that a ToolboxCategory is open by adding specific classes to its icon."],["It is a protected method within the `ToolboxCategory` class, accepting the icon's div element as an argument."],["This method modifies the provided icon element directly and does not return any value."]]],["The `openIcon_()` method, part of the `ToolboxCategory` class, is responsible for visually indicating that a category is open. It takes an `iconDiv` element as a parameter, which represents the icon's container. The method then adds specific CSS classes to this `iconDiv` to display the open icon. It returns nothing (void) after modifying the provided element.\n"]]