Drag and Drop Card Using HTML CSS And JavaScript | SortableJS

  Рет қаралды 33,241

Bedimcode

Bedimcode

Күн бұрын

Пікірлер: 46
@deepakdubey1395
@deepakdubey1395 4 жыл бұрын
It’s smooth. The animation is really good. Which is what I’d expect from something like sortable. I personally tend to prefer when the thing you’re dragging is no longer in the list and there’s just an empty space until you release the item, but that’s just a personal preference. You could try playing around with that idea though to see if you can get it to work
@Bedimcode
@Bedimcode 4 жыл бұрын
Of course, friend, if you can. If you insert these properties in the following classes, you will get the result you want. Greetings. .sortable-chosen { opacity: 0; } .sortable-drag { opacity: 1; }
@ti2542
@ti2542 3 жыл бұрын
youtube - Bedimcode uploaded a new video! me to vs code - Let's enjoy
@alixanovsarvar3572
@alixanovsarvar3572 3 жыл бұрын
so amazing buddy at the moment I learnt new info from you keep it up
@Bedimcode
@Bedimcode 3 жыл бұрын
Thank's my friend regards
@blessdarah1256
@blessdarah1256 4 жыл бұрын
Hey Bedim... I love the tutorial. I'm gonna give sortable a try for a project I'm currently working on
@Bedimcode
@Bedimcode 4 жыл бұрын
Thanks for the comment friend. Sure use it is a very used library and it has different functions. Greetings and success
@ashishingle9298
@ashishingle9298 3 жыл бұрын
You are doing great bro. I'm a student from India..i found this tutorial informative. Love from India ♥️🇮🇳
@Bedimcode
@Bedimcode 3 жыл бұрын
Thank's my friend regards
@ashishingle9298
@ashishingle9298 3 жыл бұрын
@@Bedimcode friend there is a suggestion for you, if you could make videos with voiceover it could be more effective..!☺️👌🙏
@m1akarov2021
@m1akarov2021 3 жыл бұрын
very cool and fast, thanks for the lesson
@julio5434
@julio5434 3 жыл бұрын
💗💗💗
@hyfydistro
@hyfydistro 3 жыл бұрын
You could just select `.drop` (the whole container) and that would work too. 👌 ``` const draggableArea = document.querySelector(".drag"); new Sortable(draggableArea, { animation: 150, ghostClass: 'blue-background-class' }); ```
@Bedimcode
@Bedimcode 3 жыл бұрын
What a good data, greetings.
@lorenzo_virano
@lorenzo_virano 3 жыл бұрын
You are amazing!
@Bedimcode
@Bedimcode 3 жыл бұрын
Thank you friend Lorenzo
@mikekong1874
@mikekong1874 4 жыл бұрын
it's dope, keep going
@frontenddevelopment2915
@frontenddevelopment2915 3 жыл бұрын
It's really amazing 👍
@Bedimcode
@Bedimcode 3 жыл бұрын
Thank's my friend regards
@realcricket2317
@realcricket2317 4 жыл бұрын
Nice video. Keep going
@Bedimcode
@Bedimcode 4 жыл бұрын
Thanks friend. Equal Successes.
@abhinavg916
@abhinavg916 4 жыл бұрын
Awesome 😍
@Bedimcode
@Bedimcode 4 жыл бұрын
Thanks friend. Greetings and success.
@husanboy_us
@husanboy_us 2 жыл бұрын
which vs-code theme do you use?
@programx2161
@programx2161 4 жыл бұрын
It will be great if you can explain the steps You're doing on the video. Maybe the key part of every code You're writing.
@Bedimcode
@Bedimcode 4 жыл бұрын
At the moment I can not explain friend.
@zakidzz
@zakidzz 4 жыл бұрын
it would be bettze if you talk in thoes vedio by thr way its cool
@eveohagan1230
@eveohagan1230 4 жыл бұрын
is there a way to save the sorted list?
@Bedimcode
@Bedimcode 4 жыл бұрын
Sure friend just add this code in the javascript. You have to add below dragClass store: { // We keep the order of the list set: (sortable) => { const order = sortable.toArray () localStorage.setItem (sortable.options.group.name, order.join ('|')) }, // We get the order of the list get: (sortable) => { const order = localStorage.getItem (sortable.options.group.name) return order? order.split ('|'): [] } }
@krypton7262
@krypton7262 4 жыл бұрын
It looks like very cool🔥🔥 But where we use it?)
@boundless-sher
@boundless-sher 4 жыл бұрын
Limit is your imagination : )
@krypton7262
@krypton7262 4 жыл бұрын
@@boundless-sher as you say
@Bedimcode
@Bedimcode 4 жыл бұрын
It already depends on one where you use it
@julio5434
@julio5434 3 жыл бұрын
Sortable-chosen is jQuery not JavaScript
@saboorhamedi5413
@saboorhamedi5413 4 жыл бұрын
How to save the location after changing it ?
@Bedimcode
@Bedimcode 4 жыл бұрын
Add this code in the main.js file under the property dragClass: "sortable-drag", store: { // We keep the order of the list set: (sortable) => { const order = sortable.toArray () localStorage.setItem (sortable.options.group.name, order.join ('|')) }, // We get the order of the list get: (sortable) => { const order = localStorage.getItem (sortable.options.group.name) return order? order.split ('|'): [] } }
@septiananugrah464
@septiananugrah464 4 жыл бұрын
How to get data after it's sorted ?
@Bedimcode
@Bedimcode 4 жыл бұрын
Sortable js, also has a LocalStorage function, where it saves the order, even when it reloads the page, you can check it in its documentation.
@wasifkhan8135
@wasifkhan8135 4 жыл бұрын
sir kindly make landing page....animate on scroll
@Bedimcode
@Bedimcode 4 жыл бұрын
Sure friend, I am making a website with scrolling animations and much more.
@wasifkhan8135
@wasifkhan8135 4 жыл бұрын
@@Bedimcode thanks
@vicodev444
@vicodev444 8 ай бұрын
@Bedimcode #Bedimcode nice video, I subscribed and left a like. I would like the position of the items to remain in the place where I moved it, perhaps via local storage. Could you tell me how I can do it? Thank you in advance for reading my message. PS: If you could send me the piece of code. I thank you once again
@Bedimcode
@Bedimcode 8 ай бұрын
The code is available on GitHub, you can download it and use it, greetings.
@beticohernandez9536
@beticohernandez9536 4 жыл бұрын
Ok
Paying People To Create $5 Websites On Fiverr
15:15
developedbyed
Рет қаралды 1,4 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 27 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН
Make Awesome SVG Animations with CSS // 7 Useful Techniques
12:20
Svelte makes Drag And Drop API easy!
15:08
Antonio Sarcevic
Рет қаралды 22 М.
Drag and Drop in React with React Beautiful DnD
5:51
Colby Fayock
Рет қаралды 179 М.
THIS PORTFOLIO IS INSANE - Roasting your dev sites #3
17:59
Anthony Sistilli
Рет қаралды 139 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,1 МЛН
Top 10 Games using Html CSS and Javascript from Codepen
7:01
Online Tutorials
Рет қаралды 490 М.
HTML5 - Drag n Drop
4:42
TutorialsPoint
Рет қаралды 16 М.
Social Media Icons Tooltip Using HTML And CSS
11:32
Bedimcode
Рет қаралды 11 М.
React Drag and Drop List Sort Tutorial
9:54
Darwin Tech
Рет қаралды 21 М.