Good morning guys, all right?
I render a grid with handlebars, after that, I need to adjust the height of the cards and activate another jquery plugin referring to a select options that is rendered by handlebars.
When I call the functions to adjust the height of the cards and activate the aforementioned plugin, right after the handlebars process does not work, but if I put a settimeout, most often works, but AI depends on the speed of the Internet, hard code....
I didn't find any reference to callback in relation to handlebars.
Following part of the code:
    var source   = $("#nome_template").html(); 
    var template = Handlebars.compile(source);
    $('#container_result').html(template(data));
    setTimeout(function() { 
        funcaoAuxiliar();// function that adjusts height and activates the Select options plugin.
    }, 3000); 
Can someone give a help?
Thank you
 
    