blockly > simgeler > WarningIcon > initView
icon.AlertIcon.initView() yöntemi
İmza:
initView(pointerdownListener: (e: PointerEvent) => void): void;
Parametreler
Parametre |
Tür |
Açıklama |
pointerdownListener |
(e: PointerEvent) => geçersiz |
|
Şunu döndürür:
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-09-12 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-12 UTC."],[[["The `initView` method initializes the visual representation of the WarningIcon, likely displaying a warning symbol."],["It accepts a `pointerdownListener` function as an argument, which will be executed when the icon is clicked or tapped."],["The method does not return any value (`void`)."]]],["The `initView()` method, part of the `WarningIcon` class within the `icons` namespace, takes a `pointerdownListener` as a parameter. This listener is a function that receives a `PointerEvent` object (`e`) and performs an action. The method itself does not return any value (void). Its primary action is initializing a view, and it relies on the provided listener for pointer down interactions.\n"]]