blockly > Dokunma > getTouchIdentifierFromEvent
Touch.getTouchIdentifierFromEvent() işlevi
Belirtilen etkinlikten işaretçi tanımlayıcısını alın.
İmza:
export declare function getTouchIdentifierFromEvent(e: PointerEvent): string;
Parametreler
Parametre |
Tür |
Açıklama |
e |
PointerEvent |
İşaretçi etkinliği. |
Şunu döndürür:
dize
Etkinliğin işaretçi kimliği.
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."],[[["Retrieves the unique identifier associated with a touch event, allowing tracking of individual touch interactions."],["Accepts a PointerEvent as input, which encapsulates information about touch or mouse events."],["Returns the pointerId as a string, representing the identifier for the specific touch point."]]],[]]