Skip to content
Loading
How to show only 10 items using loop ? 
0
  • Abhilash J A
    @Midhun,
     
    I want to create a list of only 10 'View'.
    0
  • Midhun Tp
    Hi Abhilash,
     
    Why don't you put an if condition inside click function to check whether the counter value is 10 or not? 
    0
  • Shakti Singh Dulawat

    To break a loop, you have to return false in the loop callback.

    Returning true skips to the next iteration, equivalent to a continue in a normal loop.

    0