Thank you for the video, it's very easy. Could you please make video on sample page with login and restricting user to go back to login page from home page and vice versa?
Renderer2 doesn't support directly in a service so it needs to be defined the RendererFactory2 injection for working with Renderer2 otherwise it gets back a null error exception.
Thanks!
hello do you have a way to do it on react instead of angular please?
Hi if I want to make the app stays light theme eventhough my phone is set to dark theme how can I achieve that?
You might want to save the theme state in the local storage or any other persistent storage and then read the value from there.
Great, thank you. I actually just needed to place the dark as default so I just set in index.html Thank you very much!!!
Wow, that was easy. I have a feature request for you: Please add your voice as stereo sound next time. That would be great!^^
Thanks, Forgot to change mono to stereo, will try to remember next time
Thanks mate
Great video!
This didn't work for me, though. Don't we have to define the "dark"??
how do i keep the option selected? When I refresh the page It turns back to light theme
Look into local storage
Thank you for the video, it's very easy.
Could you please make video on sample page with login and restricting user to go back to login page from home page and vice versa?
Yes, soon
Thanks a lot, Baljeet - excellent explaination. Just one question: What do we gain by using the Renderer2 ? - it worked well without it...
If you do SSR in the app, it might not work with direct Dom manipulation.
Very helpful! Thank you!
You saved my day. Thanks alot!!!
it does not work now. SAD...
It actually should, what issue are you facing.
@@mbaljeetsingh no errors... Everything works but does not change color
@@musthagmohamed8175 Yes same issue at my side
Thank you for the video, it's very useful.
Renderer2 doesn't support directly in a service so it needs to be defined the RendererFactory2 injection for working with Renderer2 otherwise it gets back a null error exception.
private renderer: Renderer2;
constructor(rendererFactory: RendererFactory2) {
this.renderer = rendererFactory.createRenderer(null, null);
}
dose it work with a blank project not tabs ?
Thank you very much!
Thank you so much
thank you for this great tutorial
which extension do you use for the i-item type of autocomplete?
Search for ionic snipppets by fivethree
thanks!!! this video helps me a lot
Thanks Jatta! Khich ke rakh!
is it works?when reload the page?
By default no, but you can save the toggle state in the local storage and then check for its value.
Is the state will be saved if I reload the page?
Not currently, but you can use local storage for that
@@mbaljeetsingh how ? please let me know
Very informative video
Thank you