Skip to main content

Michael Schlotthauer

Member since Jul 13, 2019

Recent Blog Comments By Michael Schlotthauer

  • Uploading Files With HttpClient In Angular 7.2.11

    Posted on Dec 4, 2019 at 7:33 AM

    @Ben, Hi Ben, Thanks for the answer. I tested different ways to achieve this. Creating a service may be the best fix here. My only concern is since it's a form I won't need to share the data with other components and once the form is complete I wont need to save it, the data will be in ... read more »

  • Uploading Files With HttpClient In Angular 7.2.11

    Posted on Nov 30, 2019 at 11:33 AM

    If I have a reactive form with validation (Angular 7). If the user does not complete the entire form, what is the best to to save/store/persist or capture the data? I've tested @output with event emitters. I've read saving to local storage may not be the best idea. Creating a service or se... read more »

  • Restoring And Resetting The Scroll Position Using The NavigationStart Event In Angular 7.0.4

    Posted on Jul 13, 2019 at 12:15 PM

    Great video! My issue is the opposite. I'm trying to force each page to load at the top, {scrollPositionRestoration: 'top' }. Some of them load in the middle an the user needs to scroll to the top to see the content beginning. Any thoughts? Code below: import {Component, NgModule} from '@... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel