Skip to content

tmplits-pageselect 0.1.0

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

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.1.0.tgz

Download activity

  • Total downloads 34
  • Last 30 days 1
  • Last week 0
  • Today 0

Recent versions

View all