@jqx23 wrote:
Right now I have a function which itself contains other functions, and then a for loop inside that function like so
function example(param1, param2){ function first(){ //manipulates params } function second(){ for(var i = 0; i < 5; i++){ if (the slide is changed) //manipulate parameters somehow } } }
Is there any way for me to right some sort of function like slides.on(ionSlideDidChange, //do something)? I know I can use (ionSlideDidChange)=“function()” in the html code but I specifically need to use this function inside the above nested function.
Posts: 1
Participants: 1