IntersectionObserver API

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

ความคิดเห็น • 71

  • @kingnonnnnn
    @kingnonnnnn 5 ปีที่แล้ว +31

    some of the best explaining tutorials about js. you deserve way more views and subscriptions! keep up the good work Steve.

  • @Vemovemo1
    @Vemovemo1 4 ปีที่แล้ว +5

    This tutorial is simply... AMAZING.

  • @norithegoldendoodle8931
    @norithegoldendoodle8931 ปีที่แล้ว

    Two words! FANTASTIC TUTORIAL!

  • @marcoio8742
    @marcoio8742 3 ปีที่แล้ว

    Finally, I understand Intersection Observer. Thank you very much! I might be the only one but you do sound like Bryan Cranston. Amazing!

  • @makhloufioussama4983
    @makhloufioussama4983 2 ปีที่แล้ว

    Thank you for this.the Best explanation of intersectionObserver on youtube.good luck

  • @christosa.filippopoulosneo7185
    @christosa.filippopoulosneo7185 2 ปีที่แล้ว

    Thank you, Sir, your explanation was so accurate it helped me a lot, to understand how this works, when someone asks me about this or other JavaScript-related topics I will refer people to your channel.

  • @wklo7159
    @wklo7159 3 ปีที่แล้ว +1

    Thx. So well explained in a way that is structured and easy to understand. Every detail is introduced at the right place and at the right time.

  • @simonthordal303
    @simonthordal303 4 ปีที่แล้ว +1

    One of the most informative tutorials I've ever watched on js. Subscribed and rung that bell. Keep it up!

  • @gandalfsnowgrey7037
    @gandalfsnowgrey7037 4 ปีที่แล้ว +2

    This is so clearly explained and put into examples! Thank you for this!

  • @drey9003
    @drey9003 4 ปีที่แล้ว

    Tanks you a lot ! I'd like to say i was following a french tutorial on the same topic but it appears something was not working for me and some viewers, but yours is perfect ! It helped me !

  • @deedeer8678
    @deedeer8678 2 ปีที่แล้ว

    Thank you Steve! It is the tutorial I've been looking for! Subscribed and thumb up!

  • @uLise4Life
    @uLise4Life 2 ปีที่แล้ว

    after 3 days of struggling to understand and find a good video about this . i finally found one and understand it on the fly. gj. like subscribe. :D

  • @HologramJay
    @HologramJay 3 ปีที่แล้ว

    Superb instruction. Thank you, Steve!

  • @Hungry_for_exploration
    @Hungry_for_exploration 4 ปีที่แล้ว +1

    Omg I just watched the whole video, you saved my life, this is exactly what I needed.

  • @CarloNyte
    @CarloNyte 3 ปีที่แล้ว

    Thank you for taking the time to make this

  • @iwswordpress
    @iwswordpress 4 ปีที่แล้ว

    Very well explained for an intricate subject. Thanks for gists too!

  • @fraserlock-macardy9633
    @fraserlock-macardy9633 2 ปีที่แล้ว

    Thanks for making this video, It's really helped my studies.

  • @yag7769
    @yag7769 4 ปีที่แล้ว

    Your voice and your pedagogy are delicious, Big Up

  • @Colstonewall
    @Colstonewall 5 ปีที่แล้ว +2

    The Jimmy Page of Javascript! The Maestro. . .

  • @srinivasaraoyp3640
    @srinivasaraoyp3640 2 ปีที่แล้ว

    Very nicely explained. Thank you very much.

  • @iwswordpress
    @iwswordpress 4 ปีที่แล้ว

    Very good and clear. A very usseful API.

  • @iwswordpress
    @iwswordpress 5 ปีที่แล้ว

    Well presented - has gist page too - well researched. Would not have known about this API. I am a subscriber and watch out for your videos. Keep up the great work! thanks.

  • @sam-ir8wx
    @sam-ir8wx 4 ปีที่แล้ว +1

    You saved my time

  • @kirillbaryba746
    @kirillbaryba746 5 ปีที่แล้ว +6

    Thanks man, cool

  • @patrykchrobak7107
    @patrykchrobak7107 3 ปีที่แล้ว

    Great work! Thank You!

  • @lukasluftlaufer1093
    @lukasluftlaufer1093 3 ปีที่แล้ว

    Wow. What a clear and simple explanation! Thanks a lot :)

  • @joshuamichael845
    @joshuamichael845 ปีที่แล้ว

    You are awesome. God bless you 🙏

  • @amircahyadi9219
    @amircahyadi9219 2 ปีที่แล้ว

    👍 nice explaining ❤️

  • @moddoora3876
    @moddoora3876 4 ปีที่แล้ว

    amazing .. i enjoy your way of teaching

  • @kimosapien4344
    @kimosapien4344 2 ปีที่แล้ว

    You are such a great teacher, thank you so much for sharing your knowledge in such a concise way. One unrelated question: why do you use Avast? :)

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  2 ปีที่แล้ว +1

      I have used several different anti virus programs over the years on different computers

  • @hassanaguezoum3477
    @hassanaguezoum3477 3 ปีที่แล้ว

    you make it simple for me thank you

  • @tetiana_komar
    @tetiana_komar 4 ปีที่แล้ว

    Thank you, Steve!

  • @havefun5519
    @havefun5519 ปีที่แล้ว

    Greate tut and love the soft voice

  • @radovansurlak7445
    @radovansurlak7445 3 ปีที่แล้ว

    thank you Steve! :)

  • @ismail-talb
    @ismail-talb 3 ปีที่แล้ว

    you are awesome ,as always

  • @paz1359
    @paz1359 13 วันที่ผ่านมา

    I have a question about how you would implement the code if you want just one p tag to come to the view?

  • @growingisgood
    @growingisgood 2 ปีที่แล้ว

    Amazing video !

  • @UtkarshSrivastava03
    @UtkarshSrivastava03 4 ปีที่แล้ว

    Thanks!!! It is very helpful for a beginner

  • @codeblooded6760
    @codeblooded6760 3 ปีที่แล้ว

    Great video!

  • @technicalmind8541
    @technicalmind8541 4 ปีที่แล้ว

    Thank you sooo much Sir. This video is really helpful for me. Thanks

  • @konghu7642
    @konghu7642 3 ปีที่แล้ว

    i love your video! as well as your voice

  • @romanmontoya5950
    @romanmontoya5950 3 ปีที่แล้ว

    Wonderful tutorial! Quick question: in the line
    entry.target.classList.add('active');
    isn't each entry an HTML element from the entry array? What is 'target' doing? You mention that 'target' is the actual HTML element, so I'm a confused. Thanks!

    • @romanmontoya5950
      @romanmontoya5950 3 ปีที่แล้ว +1

      never mind, I answered my own question by logging 'entry' to the console and carefully looking at the various properties on it.

  • @mohamedrezk231
    @mohamedrezk231 3 ปีที่แล้ว

    Thanks for detailed explanation, but I don't understand what "ob" parameter in "beTouching" function represents

  • @mridulkhurana533
    @mridulkhurana533 2 ปีที่แล้ว

    excellent thanks !

  • @camilogarcia1325
    @camilogarcia1325 4 ปีที่แล้ว

    Great explanation! thanks for sharing this! you should make asmr programming videos too! LOL

  • @squeezemylizard6571
    @squeezemylizard6571 3 ปีที่แล้ว

    nice one

  • @mania-_-
    @mania-_- 2 ปีที่แล้ว

    Thank you!!!

  • @halloween897g2
    @halloween897g2 3 ปีที่แล้ว

    Thanks!

  • @easttechsolutions3695
    @easttechsolutions3695 6 หลายเดือนก่อน

    life saver🙂

  • @youvegotmail9385
    @youvegotmail9385 2 ปีที่แล้ว

    This guy needs to be the next David Attenborough, but American edition.

  • @anthonyzornig
    @anthonyzornig 2 ปีที่แล้ว

    Top! works seemless… after a bit of patience with my code :)

  • @kts.laraveldeveloper7646
    @kts.laraveldeveloper7646 3 ปีที่แล้ว

    if 2 elements are in viewport,then how to handle them? i m using intersection observer for videos.i want to play one video and pause the second one if they are in viewport
    how to achieve this?please help sir...

  • @ashharkausar413
    @ashharkausar413 3 ปีที่แล้ว

    Steve I noticed when I try to do something like :
    function beTouching(entries){
    if(entries.isIntersecting){
    console.log('intersected');
    } else {
    console.log('not intersected');
    }
    }
    It doesn't work, it only works in the foreach loop, do you know why that is?

  • @Gobbenobber
    @Gobbenobber 3 ปีที่แล้ว

    Nice tutorial :D
    Sub'd!

  • @amrosaad9730
    @amrosaad9730 3 ปีที่แล้ว

    thanks ;)

  • @CastleShield
    @CastleShield 3 ปีที่แล้ว

    thanks

  • @emmanuelcudjoe305
    @emmanuelcudjoe305 4 ปีที่แล้ว

    Perfect :)

  • @Hungry_for_exploration
    @Hungry_for_exploration 4 ปีที่แล้ว

    Thanks so much for this it helped me understand this a bit more. Am a beginner and am working on a project that requires the use of this API. Can you help me out please. So my problem is that ( I have multiple sections on my page and I want to add an active class to each one of them when they're are in viewport, and toggle the class when it's not in viewport. )

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  4 ปีที่แล้ว +1

      What you are describing is pretty much what I do in the video.

    • @Hungry_for_exploration
      @Hungry_for_exploration 4 ปีที่แล้ว +1

      @@SteveGriffith-Prof3ssorSt3v3 I finally got my code to work using the getBoundingClientRect() method. I find it way easier than this method. But great video man.

  • @sourishdutta9600
    @sourishdutta9600 5 ปีที่แล้ว

    WOW!!!!