In Meteor JS, how to control Javascript load order in relation to DOM load order? For animations

后端 未结 5 573
孤独总比滥情好
孤独总比滥情好 2021-01-03 07:48

I\'ve got a template that I downloaded:

http://halibegic.com/projects/merlin/

I want to use it in Meteor and I\'m having major issues with

&         


        
5条回答
  •  孤城傲影
    2021-01-03 08:11

    None of the above answers worked for me, so I kept hacking away until finally the following worked:

    Template.layout.rendered = function() {
      // hack: these third party header animation scripts must be inserted at the bottom of body
      $('body').append('
    
                                     
                  
提交回复
热议问题