Lift 3+ only -- This function initiates the Higlight code sections by appending a script snippet to lift's page-script on page load function.
Lift 3+ only -- This function initiates the Higlight code sections by appending a script snippet to lift's page-script on page load function.
Example
<script data-lift="FoBo.HLJS.initHighlightingOnLoad"></script>Result: This example will result in the following being appended to lift's page-script on page load function:
$('pre code').each(function(i, block) { hljs.highlightBlock(block); });v1.6
Hightlight JS Snippet
This snippet class contains a collection of functions for common transform operations useful when working with the Higlight toolkit components. Example Invoke with
data-lift="FoBo.JLJS.functionName?paramName=paramValue&...."For more examples see the individual transform functions.
v1.6