blockly > BlockSvg > setDragStrategy
BlockSvg.setDragStrateji() yöntemi
Bu blok için sürükleme stratejisini ayarlar.
İmza:
setDragStrategy(dragStrategy: IDragStrategy): void;
Parametreler
Ş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-11 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-11 UTC."],[[["The `setDragStrategy` method allows you to define how a block behaves when dragged."],["It accepts an `IDragStrategy` object as input to control the dragging behavior."],["Calling this method assigns the specified drag strategy to the current block."]]],[]]