Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

287
Views
Evento de mouseover para pantalla táctil en angular

Estoy codificado para arrastrar y soltar en material angular y el elemento soltado debería estar en la tarjeta correcta, así que tomé el índice de la tarjeta y solté el elemento usando el mouseover. Ahora el problema es que la pestaña no funciona porque touchstart solo toma el índice después de tocar la tarjeta. ¿Hay alguna opción para hacerlo de manera correcta?

 <div class="xxl:m-2 m-1 xxl:rounded-xl rounded-lg xxl:min-h-24 min-h-14 bg-gray-400 bg-opacity-12 (mouseover)="dropped(i)" (touchstart)="dropped(i)" > <div class="xxl:p-3 p-2"> <div class="z-20 flex items-center justify-between xxl:py-3 py-1 xxl:px-4 px-2 xxl:my-2 my-1 cursor-move xxl:rounded-lg rounded-md bg-card max-h-8 xxl:max-h-full" *ngFor="let map of card.stages;" cdkDrag [cdkDragData]="map" (mousedown)="getData(map)" (touchstart)="getData(map)"> <div class="min-w-0" > <div class="font-medium leading-5 truncate">{{map.stage_name}}</div> </div> <button mat-icon-button (click)="cutStage(map)"> <mat-icon class="xxl:icon-size-6 icon-size-5 " svgIcon="heroicons_outline:x-circle"></mat-icon> </button> </div> </div> </div>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!