In Knockout js, there is one function called afterRender.
afterRender is executed after a knockout associated element is inserted into the DOM.
Let’s simple demo for afterRender function.
Simple HTML Dom element,
<span data-bind="afterRender: loadJsAfterKoRender"></span>