You can call
$.onmount() as much as you like. This will skip any behavior initialization for DOM nodes that have already been initialized. This is done to account for any new elements that may appear in your DOM.
// add more content $('#content').append(...) $.onmount()
Also, when used with jQuery,
onmount can be passed as an event handler, eg,
$(document) .on('ready show.bs closed.bs load page:change', $.onmount)