Skip to content

Library for templating DOM on a web page.

License

Notifications You must be signed in to change notification settings

hophiphip/pointlez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pointlez

Library for templating DOM on a web page.

Installation

npm install pointlez

Using the CDN

<script defer src="https://unpkg.com/pointlez@latest/dist/pointlez.umd.js"></script>

Usage

Replace with string

<template data-from-string="<p>Some text</p>"></template>

will be replaced with

<p>Some text</p>

Replace with file

<template data-from-file="footer.html"></template>

Will be replaced with contents of a file that is accessed from /footer.html url.

About

Library for templating DOM on a web page.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published