Angular Directives - Build a Hold-to-Delete Button

Angular Directives - Build a Hold-to-Delete Button

Fireship

5 лет назад

33,652 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Hitesh Patil
Hitesh Patil - 22.10.2022 13:45

Nicely done

Ответить
Coltranepadawan
Coltranepadawan - 13.10.2022 01:16

if i had an array of objects and are displaying them on screen in containers, could we bind this hold to delete function to those containers and possibly the color loader to affect the container itself until it is deleted?

Ответить
Chandika Lakshan
Chandika Lakshan - 28.05.2022 10:02

Very useful and interesting video for me.

Ответить
Abhijeet Dey
Abhijeet Dey - 09.02.2022 18:06

Brilliant!! I will try to remake this! Thanks 👍🏽

Ответить
intergral81
intergral81 - 06.04.2021 09:25

Awesome, thank you

Ответить
Bob Mossanen
Bob Mossanen - 18.02.2021 02:46

I like your courses, I am looking to get support for hosting angular app on google cloud and also google photos rendering in angular 11 app

Ответить
BOOM SHAKALAKA
BOOM SHAKALAKA - 29.10.2020 16:45

Could you do a react version of this? Or is there a exciting resource that could help me with this?

Ответить
arpan banerjee
arpan banerjee - 04.08.2020 09:44

I could not understand why did u filter this.cancel=this.state.pipe(filter(v=>v==='cancel)), when we already emit an event on mouseleave--> this.state.next("cancel"). Can someone explain this to me please? 🙏🥺

Ответить
arpan banerjee
arpan banerjee - 04.08.2020 08:59

Can you pls share a link to the source code of this video...that would be really helpful

Ответить
Dennis R Paiva
Dennis R Paiva - 30.07.2020 21:45

Is there a way to make that progress bar inside the button?

Ответить
diyan yagari pratama
diyan yagari pratama - 21.02.2020 13:01

But if i build to mobile with cordova, its not working. Do you have any idea ?

Ответить
Slavcho Dimitrievski
Slavcho Dimitrievski - 15.01.2020 01:30

Great short video!

Ответить
N U
N U - 05.12.2019 08:10

What is the font you are using?

Ответить
tony smarks
tony smarks - 31.10.2019 05:43

How to use directive to change table colums width ??

Ответить
Daniel
Daniel - 26.10.2019 23:27

thanks, a lot of new things i learned from this tutorial :D

Ответить
Jakob Frei
Jakob Frei - 27.08.2019 12:13

Great video! The only nitpick I have is that your naming of things does not always fit at least my personal intuition. Example: (holdTime)="deleteCustomer()". This is not the most obvious way to convey what is really happening and may give people who are new to a codebase a hard time figuring out how stuff works. Longer names may look verbose at first, but they help newcomers and once you are accommodated to them their length does not bother you any more, at least in my experience. ;) Never the less, I learned a great deal from this tutorial!

Ответить
Alamgir Qazi
Alamgir Qazi - 16.07.2019 20:28

This is beautiful!

Ответить
Edgar Santos
Edgar Santos - 08.05.2019 14:16

I don't like non component directives, like attributes in this example and the reason is simple. If you are using them inside a component tag and it has outputs/inputs you have trouble understand which belongs to what, can get messy. I understand the need for directives, but would just wish there was a less confusing implementation.

Ответить
Nestor Perez
Nestor Perez - 24.12.2018 03:45

Man love your videos! But hey, where do you get the music for them?

Ответить
Sourish Dutta
Sourish Dutta - 11.11.2018 21:13

Can you please make a video on how angular change detection works and NgZone things a little bit. And ofcourse ngrx and one more thing a little bit concept about real time data communication

Ответить
Henrry Pires
Henrry Pires - 18.10.2018 21:07

Great video. Thanks

Ответить
Jakub Navrátil
Jakub Navrátil - 09.10.2018 00:38

I did not test it, but shouldn't you subscribe to cancel observable? Else tap operator won't work no? Or am I missing something?

Ответить
DevDharma
DevDharma - 03.10.2018 19:34

Simple Superb :) Thank You

Ответить
Blessings Chishimba Kalambai
Blessings Chishimba Kalambai - 30.09.2018 20:40

its always a delight to watch you program, cause your tips are very helpful. if only i could afford your pro subscription.

Ответить
Writangshu Mukherjee
Writangshu Mukherjee - 28.09.2018 11:24

Hey! do you use one dark theme for vs code?

Ответить
Arctic SpaceFox
Arctic SpaceFox - 27.09.2018 17:49

What theme are you using in vscode?

Ответить
Markus Heinisch
Markus Heinisch - 27.09.2018 15:52

Great idea and fantastic video. Thank you. I think, the user needs a visual feedback so that he has to push the button until the action is triggered. Any suggestions?

Ответить
Manish
Manish - 27.09.2018 14:17

Thumbs up to the custom css console logs. TIL!

Ответить
Khumozin
Khumozin - 27.09.2018 08:49

Hey. Which CSS framework are you using?

Ответить
gunitakon
gunitakon - 27.09.2018 00:27

Yesss, getting more Angular content. Thanks.

Ответить
Rafael Urrea
Rafael Urrea - 26.09.2018 22:14

Awesome use case to show the potential of rx/js

Ответить
Mike Molchanov
Mike Molchanov - 26.09.2018 20:57

Nice

Ответить
Skia
Skia - 26.09.2018 20:48

Bro, are you planing on releasing some sort of an advanced paid course for an Angular web application in the near future?

Ответить
Carlos E Carrillo
Carlos E Carrillo - 26.09.2018 20:26

Awesome, I've moved to another country, so I have been a little off, but I'm ready to keep going, greetings.

Ответить
Will Abule
Will Abule - 26.09.2018 19:53

Great I've never thought of long pressing for delete I always use a confirmation dialog but no longer thanks Jeff.

Please I need help with firestore cloud function I want to automatically update a field in a document base on a date field in that same doc or in extension a different doc in a same collection and even more a doc in a different collection. Please I need it 🙏

Ответить
Rolly Peres
Rolly Peres - 26.09.2018 19:51

Way more elegant than the rough modal approach.

Ответить
Nil Hart
Nil Hart - 26.09.2018 19:38

Great idea, love it

Ответить
Benson Mwaura
Benson Mwaura - 26.09.2018 19:35

Very intuitive. I can already see some potential with this for improving the user experience. Nicely done!

Ответить
Chadwick Blackford
Chadwick Blackford - 26.09.2018 19:26

Amazing!!!!!!

Ответить
Jonathan Concepcion
Jonathan Concepcion - 26.09.2018 19:25

Hey can you make a video about angular elements example anguler elements then ng build then use it to any angular-cli projects. Let say you put the angular-element in github and use it in angular-cli project. Hope does makes sense :-)

Ответить
Fireship
Fireship - 26.09.2018 19:25

Going back to Angular + RxJS fundamentals to build a nice UI element for deleting important records. Let me know what you think in the comments :)

Ответить