Questions tagged [pure-js]

PURE is a simple and ultra-fast templating tool for generating HTML from an HTML template and JSON data. DO NOT USE this tag if you want to indicate NO LIBRARIES are used.

PURE (Pure Unobtrusive Rendering Engine) is a simple and ultra-fast templating tool for generating HTML from an HTML template and JSON data.

PURE can work as a standalone library or with dojo, DOMAssistant, jQuery, Mootools, prototype.js, Sizzle and Sly.

Key features:

  • Build your templates with HTML, CSS and JavaScript only.
  • Ultra-fast, templates are compiled from HTML to Javascript for blazing rendering speed.
  • Unobtrusive, the HTML remains absolutely untouched.
  • Runs on the browser side.
  • Open Source, and released under the MIT License
49 questions
-1
votes
3 answers

How get document.getElementById when I add this id in previous JS

I have added an id to all elements with a class of image using JS. The images now have ids eg. image--1, image--2, etc If I want to get the element by ID using var el = document.getElementById('image--1'); then I get null. How can I get current…
Kady
  • 19
  • 1
  • 5
-1
votes
1 answer

Accessing HTMLCollection

So I am trying to access all of a specific class name and then eventually ad an event listener to them. I'm doing it this way because I am building a hightcharts graph and cannot add click events specifically to the legend items. So after the…
Brad Goldsmith
  • 283
  • 6
  • 18
-2
votes
1 answer

Trying to rewrite jquery ajax with pure js fetch. Fetch get body

On a Laravel driven site, there is a jquery script that controls the quantity and total price of an item in the cart. I am trying to rewrite jquery ajax in cart with pure js fetch. However, there is no way to pass body to fetch in the get request!…
SGA
  • 13
  • 4
-4
votes
1 answer

How to interoperate from js to Typescript?

I have question regarding usage of Flow, Typescript and similar superset javascript language. How do I call something that is written in Typescript from pure js code? Does the mechanism look anything like the interoperation of Scala and Java? Like…
Mistletoe
  • 235
  • 1
  • 3
  • 11
1 2 3
4