Ionic 5 Animations Controller & Custom Page Transitions

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025
  • НаукаНаука

Комментарии • 71

  • @marcelocch
    @marcelocch 4 года назад +5

    FINALLY! Simon you are a beast! I was waiting for a video with the Page transitions topic and I love it!
    Amazing, thanks!

  • @DheerajKhokharkumar
    @DheerajKhokharkumar 2 года назад

    @Simon Grimm Is it possible to change the animation direction defending on the active page?. Example First Page --> Second direction forward, Second Page --> Third Page direction Backward.

  • @oliver5352
    @oliver5352 4 года назад +2

    Hi guys when i want to build its says Error during template compile of 'fancyAnimation'
    Function expressions are not supported in decorators can you
    Consider changing the function expression into an exported function.
    help me ?

  • @MrGhosTRideRrR
    @MrGhosTRideRrR Год назад

    Awesome vid, can you help me? why does opacity work but transform translate doesnt work

  • @luismpcunha
    @luismpcunha 4 года назад +2

    Great video, how would it be a good way to implement shared element transitions with this approach? Similar to what the Play Store does with images.

    • @galaxies_dev
      @galaxies_dev  4 года назад

      I'm not sure what the play store does with images?

    • @luismpcunha
      @luismpcunha 4 года назад +1

      @@galaxies_dev Not everywhere, but it's something similar to this: 2.bp.blogspot.com/-SYxpgdCZYdQ/WoYW8x3m0II/AAAAAAAAFEs/m4ZE9gpGwsE1n1SopuBkvbg9_IGzGqgpgCLcBGAs/s1600/intro.gif
      Basically, to have an element animate from an initial position in one screen to a final position in another, and reverse the animation when going back

  • @Vignesh-m3c
    @Vignesh-m3c Год назад

    my code is ionic 5 in my project it
    nav-animation.ts file is not invoked and no console was not printed
    would you know why or is there any solution for that

  • @mdrakibul7903
    @mdrakibul7903 2 года назад +1

    Please do some advanced tutorial on Ionic React

  • @Mewain
    @Mewain 4 года назад +1

    Yes ! Thank you so much i was waiting for this video !

  • @practicaluseof
    @practicaluseof 4 года назад +1

    Hi Simon, Really love your videos. Thanks

  • @jicarrozzo
    @jicarrozzo 4 года назад +1

    Dude!! great video!! 100% yes.. more videos about this!!!

  • @dannuugomez1981
    @dannuugomez1981 4 года назад

    Nice tutorial but
    How can I make the animation in when browsing tabs?
    I cannot detect the change of tabs.

  • @Channel-kc7px
    @Channel-kc7px 3 года назад

    hi simon and thanks for this tutorial ,
    did you find any solution to make it works in iOS ?

  • @علياءاسامه-ت4م
    @علياءاسامه-ت4م 2 года назад +1

    great tutorial

  • @mustafadagloglu2071
    @mustafadagloglu2071 4 года назад +1

    You saved my day. Thank you!

  • @KonstantinStanchev
    @KonstantinStanchev 4 года назад

    Thanks for the video, Simon! And congrats on the 30K Subs! 100K soon! :))

  • @daniele.ragone
    @daniele.ragone 4 года назад

    Hi Simon, is possible use different transition for each ionic page?

    • @galaxies_dev
      @galaxies_dev  4 года назад +1

      I think that's an open bug that will be fixed in an upcoming release. In the last version you could only globally supply this, so hopefully soon we can do it on the module level of each page!

  • @KasimSheyi
    @KasimSheyi 4 года назад +1

    Awesome tutorial always.

  • @activiteitenapp9187
    @activiteitenapp9187 3 года назад

    Is it possible to use navAnimation for a specific page instead of all pages? Suppose I use this.router.navigate, can I then specify a nav animation somehow?
    I want different animations for different pages.

    • @galaxies_dev
      @galaxies_dev  3 года назад

      Yes! Check out my guest post and the code quite at the bottom, you can directly include a custom navigation when using the router: ionicframework.com/blog/building-interactive-ionic-apps-with-gestures-and-animations/

  • @drewatkison4127
    @drewatkison4127 4 года назад +1

    Hey Simon, in my app I have a list of items that I want to animate the entrance and exit

    • @galaxies_dev
      @galaxies_dev  4 года назад +1

      You can actually use standard Angular animations for that as well!

    • @drewatkison4127
      @drewatkison4127 4 года назад

      @@galaxies_dev Thanks! I actually ended up using them!

  • @Ttvmushygushy
    @Ttvmushygushy 3 года назад

    this tutorial is fire good looks my brutha

  • @marwansalem76
    @marwansalem76 4 года назад

    hi Simon! how are you? could you tell me which software do you use for making your video?

  • @jeangu2002
    @jeangu2002 4 года назад

    Hi Simon, do you know why animations are disabled in ion-tabs?

  • @BrOrlandi
    @BrOrlandi 3 года назад

    Hi, there! Great video! I'm having trouble animating page transitions to the same route but with different URL params. Let's say we have a product details page and you click to see the next product page, it's the same Route but with a different product id in the URL. Some internal components are flashing the content because they are in the same route before the animation starts.
    Do you have any advice on that?

    • @BrOrlandi
      @BrOrlandi 3 года назад

      BTW, I'm using Ionic React, don't if this makes difference.

    • @galaxies_dev
      @galaxies_dev  3 года назад

      Actually not sure about React, I'd have to check it with Angular.. But overall I guess you should still be able to use a custom animation for a page transition like I described in this post: ionicframework.com/blog/building-interactive-ionic-apps-with-gestures-and-animations/

  • @mohitaranwa1626
    @mohitaranwa1626 4 года назад

    Hey hi Simon,
    Thanks for the video. Loved it!
    So when I tried running the animation on my browser, I am getting this error-
    "core.js:6241 ERROR TypeError: Cannot read property 'play' of undefined
    at HomePage.toggleAnimation"

  • @mitpatel2383
    @mitpatel2383 4 года назад +1

    Hey Simon, Thanks for such a great video... Can you make Video for handle device back button and back navigation by Hardware button?

  •  3 года назад

    Excelent Simon, allways strait to the point and usefull. I was wonder if this can be apply to Ion-tab as well, i tried with all my poor knowlege on Ionic and acomplished nothing xD

    • @galaxies_dev
      @galaxies_dev  3 года назад

      There is no animation between tabs by design, so I guess the answer is no :/

    •  3 года назад +1

      @@galaxies_dev ok, i'll try to implement the swipeable tabs instead so. Thanks! I hope to see your speak in the IoniConf

  • @Akeshma
    @Akeshma 4 года назад

    Good work thanks. Is it possible to make simple games with ionic?

    • @galaxies_dev
      @galaxies_dev  4 года назад

      I guess it would, maybe I could do this as a funny little project :D

  • @codingtyphoon8830
    @codingtyphoon8830 3 года назад +2

    @SimonGrimm I love your work. your style of explaining is best can you make a video on Shared Animation with list items on ionic it would be very helpful

  • @GosuMania
    @GosuMania 3 года назад +1

    thanks mate i love it!

  • @casusjoie
    @casusjoie 4 года назад +1

    Do it on ionic react

  • @koustavsarkar3378
    @koustavsarkar3378 3 года назад +2

    @SimonGrimm I greatly appreciate your work. your style of explaining is really awesome can you make a video on Shared Animation with list items on ionic it would be very helpful

    • @galaxies_dev
      @galaxies_dev  3 года назад +1

      What type of list animation would you like to see Koustav?

    • @koustavsarkar3378
      @koustavsarkar3378 3 года назад

      @@galaxies_dev Shared or connected animation between two pages the image chosen from a list get displayed in second (details) page. Like this one --- www.joshmorony.com/media/blogimages/sharedtransition.mp4

  • @motodankz4838
    @motodankz4838 4 года назад

    The problem is to build modal animation. Everything behind the animation disappears.

  • @ikennasamuel6470
    @ikennasamuel6470 4 года назад +1

    Great video

  • @Quinhas96
    @Quinhas96 4 года назад

    Hey Simon, can you make a shopping cart tutorial with payment (stripe, paypal) as you said in the other video?

  • @miner-vd3qt
    @miner-vd3qt 4 года назад +1

    loving it :)

  • @AbdielDMolina
    @AbdielDMolina 4 года назад +1

    usefull video!!

  • @tanishqmanuja
    @tanishqmanuja 4 года назад

    The use of export const name = () => { ... } can cause compile error in production build . Instead you should use export function name(){ ... }

    • @galaxies_dev
      @galaxies_dev  4 года назад

      Hmm I never encountered any compiler errors with that syntax? It's the standard ES6 syntax imho!

  • @oswaldkit
    @oswaldkit 4 года назад +1

    Cool