Basic Javascript Template Function

Snippets

Pass the function a template with curly brace delimited values e.g. <h1>{{ value }}</h1>
Returns a function that accepts an object of your values to be applied to the template;

Usage

Leave a Reply

Your email address will not be published. Required fields are marked *