angular / angular/components

Change event on drag start (if delayed dragging, it should fire when the delay is elapsed)

オープン
#16,551 コメント 7 件 リアクション 15 件 担当者 0 名 GitHub で見る
area: cdk/drag-drop feature P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Feature Description

Currently the started event on CdkDrag fires when the user starts to press on the element. Now with the dragStartDelay, it should fire after the delay if it hasn't been cancelled.

#### Use Case

I would like to trigger a vibration or a haptic feedback when the the dragged element starts to drag after the cdkDragStartDelay. Currently it's not possible to synchronize both of them accuratly without doing some hacks.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

issue に記載されている CdkDrag started event と dragStartDelay の動作から始めます。現在イベントがいつ発火するかを追跡し、ドラッグがキャンセルされない限り、遅延時間が経過した後にのみ発火することを確認します。タイミングが同期された触覚フィードバックをサポートすることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。