defineHelper

Sqrl.defineHelper("helperName", function(args, content, blocks) {
    //Do whatever you want here with the arguments, blocks, and content
    //Example:
    return "Wrapper: " + blocks.date() + "Wrapper"
})

Last updated