Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
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: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `setDragStrategy()` method, part of the `BlockSvg` class, configures the drag behavior of a block. It accepts a single parameter, `dragStrategy`, which is of type `IDragStrategy`. This parameter dictates the specific strategy to be used when dragging the block. The method modifies the block's behavior and doesn't return any value.\n"],null,[]]