Skip to content

tmplits-pageselect 0.0.4

Install from the command line:
Learn more about npm packages
$ npm install @loupeteam/tmplits-pageselect@0.0.4
Install via package.json:
"@loupeteam/tmplits-pageselect": "0.0.4"

About this version

Example Usage:

{{tmplit
  "PageSelect"
  "Page 1: json"
  ctx='{"msg":"hello"}'
  dom="container1"
  template="page1"
}}
{{tmplit
  "PageSelect"
  "Page 2: javascript"
  ctx="this.innerHTML"
  dom="container1"
  template="page2"
}}

<script id="page1" type="text/x-handlebars-template">
    <!-- write your page 2 with normal html -->
    {{msg}} world
</script>

<script id="page2" type="text/x-handlebars-template">
    <!-- write your page 2 with normal html -->
    {{ . }}
</script>

<!--Container to put the page in-->
<div id="container1">
</div>

Licensing

This project is licensed under the [MIT License]LICENSE.

Details


Assets

  • tmplits-pageselect-0.0.4.tgz

Download activity

  • Total downloads 14
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all