const $output = $("#breakpoint-output") function updateView() { const currentBreakpoint = bootstrapDetectBreakpoint() $output.html("" + JSON.stringify(currentBreakpoint) + "") } updateView() $(window).on("resize", updateView)
" + JSON.stringify(currentBreakpoint) + "