Angular CDK - Layout tutorial (BreakpointsObserver & Platform/Browser detection) [Angular 10, 2020]

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 24

  • @vatsalkgor
    @vatsalkgor 3 роки тому +14

    The way he silently wrote Pain instead of explorer was hilarious! 😂😂

  • @kevinborja4152
    @kevinborja4152 4 роки тому +1

    Thank you! Keep it up the good work

  • @Ciabo69
    @Ciabo69 2 роки тому

    how do you redefine or create your own breakpoints?

  • @billatwork9357
    @billatwork9357 3 роки тому +1

    Video request: Angular CDK ListKeyManager, FocusTrap and FocusMonitor. Really lacking good vids on this currently, I think. :)

  • @bo3oof
    @bo3oof 4 роки тому +2

    Thank you

  • @robertsteaburdea6586
    @robertsteaburdea6586 2 роки тому

    Is this BreakpointsObserver equivalent to @media query? How would you compare them, can you provide some use cases?

    • @arslanghumman2107
      @arslanghumman2107 2 роки тому

      yes I have used it , it works perfectly

    • @povezlo46
      @povezlo46 Рік тому

      Use cases for BreakpointsObserver include: loading different components or modules based on screen size, changing the behavior of a component based on screen size, and triggering animations or other effects based on screen size.
      In summary, while both @media queries and BreakpointsObserver are used to define behavior based on the size of the viewport, @media queries are primarily used for styling and layout, while BreakpointsObserver is used for triggering behavior changes in your Angular application.

  • @peymanta8923
    @peymanta8923 4 роки тому +1

    Thank you very much.

    • @DecodedFrontend
      @DecodedFrontend  4 роки тому

      Welcome! 😊 Thank you for your feedback

    • @peymanta8923
      @peymanta8923 4 роки тому

      @@DecodedFrontend You're welcome. your channel is awesome, keep going.

  • @BetmenBoy
    @BetmenBoy 4 роки тому +1

    thanksss, help me a lot :)

  • @ezequielromerobertani3618
    @ezequielromerobertani3618 3 роки тому +1

    usefull material

  • @dhikramagroup9497
    @dhikramagroup9497 4 роки тому

    i need this tutorial for angulardart..

    • @DecodedFrontend
      @DecodedFrontend  4 роки тому

      Hi! Sorry but I am not planning anything regarding Dart in nearest future..

  • @kelvinsmith4894
    @kelvinsmith4894 3 роки тому +1

    lol try reloading the form on landscape mode after changing the width to 95VW
    That means that you still have to write media queries for each screen
    Kinda annoying

    • @DecodedFrontend
      @DecodedFrontend  3 роки тому

      Hi Kelvin! Width of which element do you mean? Body or some certain div?

    • @ihor-pidhornyi
      @ihor-pidhornyi 2 роки тому

      In his case, he just wrote max-width of 35rems, so in the landscape form it won't be 95vw all along screenwidth. It'll be 35rem, in case of 95vw achieving 35rem, not bigger