angular / angular/components

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

Aperta
#16,551 7 commenti 15 reazioni 0 assegnatari Vedi su GitHub
area: cdk/drag-drop feature P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

#### 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dall’CdkDrag started event e dal comportamento di dragStartDelay descritti nell’issue. Traccia quando l’evento viene attualmente attivato e verifica che venga attivato solo dopo che il ritardo è trascorso, a meno che il drag non venga annullato; conferma che la temporizzazione supporti un feedback aptico sincronizzato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.