Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Sharepoint 2013 : Run any other javascript after the Display Templates have have rendered the content

$
0
0
  • I create a ContentBySearchWebpart, specified my custom Display templates.
  • wanted to run some other javascript code, after the Display Templates have rendered the content
  • Registered my custom javascript file in Display template.
$includeScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Slider.js");
  • The Problem is that, my Slider.js file code executes before Display Templates Javascript code. Can anybody provide me a way to run my Slider.js code after the display templates have rendered the content of ContentBySearchWebpart(CSWP).


Viewing all articles
Browse latest Browse all 25064

Trending Articles