SvelteKit Drag And Drop List With svelte-dnd-action

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 24

  • @Shijith1
    @Shijith1 5 месяцев назад

    This video helped me figure out the syntax for the DND action library, thanks man!

  • @ikkenzo3948
    @ikkenzo3948 10 дней назад

    hey i hope im not to late, but is grid layout possible with this? for example a 3 by 3 grid?

  • @TheNitrozwerg
    @TheNitrozwerg 4 месяца назад

    I can't get this to work. I can move items, but items in the source as well as the target area affected by the dnd get hidden and don't reappear. The item arrays get adjusted just fine but the ui just does not render the contents properly

  • @666Bockwurst666
    @666Bockwurst666 Год назад +1

    love your sveltekit content!! would love some more :)

  • @mathiasfantoni2458
    @mathiasfantoni2458 Год назад

    6:56 I see a GitHub repository in the description, where the code would be, but not a link to where you copied the code from (i.e. the docs for DND Action)?

  • @Videx89
    @Videx89 Год назад

    Nice content! I was wondering if you could make a collabration feature to the app some how! really needed!

  • @vaisakh_km
    @vaisakh_km Год назад

    great tutorial..... i was tring to make this work...
    do you know how to dynamically add/ change elements in the list.... ?

    • @CooperCodes
      @CooperCodes  Год назад

      In the items array mentioned in this video you can manually change any of the objects just like you would with a regular array in JavaScript. You just have to make sure that each item has a unique ID, but besides that you can manipulate the items array just like normal. Hopefully that answers your question! If you're curious on how the editing / saving works check out my to do list video here: ruclips.net/video/MnTfpmVzxQc/видео.html

  • @Airjaman
    @Airjaman Год назад

    Thank you, bro

  • @pjc825
    @pjc825 Год назад

    Really great video, thank you 💯😃👍

    • @CooperCodes
      @CooperCodes  Год назад

      Thanks so much, and you are welcome! Appreciate the comment :)

  • @scott_itall8638
    @scott_itall8638 Год назад

    What about draging between arrays?

  • @SamirPatnaik
    @SamirPatnaik Год назад

    very well explained

  • @Loui3Hunna
    @Loui3Hunna Год назад

    Cool stuff once again! Keep it up man!

    • @CooperCodes
      @CooperCodes  Год назад +1

      Thank you for the consistent support Ludvig, means a bunch! :)

  • @paulthomas1052
    @paulthomas1052 Год назад

    Great tutorial - Svelte is pretty cool. 👌

    • @CooperCodes
      @CooperCodes  Год назад +1

      Thanks so much for the comment Paul :). Svelte is pretty great! Lots of libraries (like this one) and its only growing, so hopefully my videos expose those to the new tech.

  • @jasonmoggridge1566
    @jasonmoggridge1566 8 месяцев назад

    Thanks!

  • @maskman4821
    @maskman4821 Год назад

    It is very useful, I will watch it later on, thank you 🙏🤓😘🤗😍🤩👍👏

    • @CooperCodes
      @CooperCodes  Год назад

      Thanks so much for your support! :) Hope you enjoy!

  • @roblesrt
    @roblesrt Год назад

    Great! keep it up sir!

    • @CooperCodes
      @CooperCodes  Год назад

      I will keep it up! Thank you for the comment :)

  • @uzi-rm
    @uzi-rm 5 месяцев назад

    Tip. Don't just use duration-x with tailwindcss on the draggable items and avoid doing transition-all. do transition-colors transition-opacity duration-100 ... etc. if you don't the items will flicker like in the video.

  • @AssetTrade
    @AssetTrade Год назад

    Show with tanstack table