You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now we use @slides method to get collection of slides. We must add @slides variable instead method to cache it collection. Work should looks like:
slider=newFlow'slider'slider.slides# return collection of all slidesslider.append'<li>new slide</li>'slider.slides# return collection of all slides after appendingslider.list.append'<li>new slide</li>'slider.slides# and after native appending this should return coollection of all slides
It's so necessary because jquery.find() does not cache result and every call @slides method will be very slow.
The text was updated successfully, but these errors were encountered:
Now we use
@slides
method to get collection of slides. We must add@slides
variable instead method to cache it collection. Work should looks like:It's so necessary because
jquery.find()
does not cache result and every call@slides
method will be very slow.The text was updated successfully, but these errors were encountered: