Skip to content

Releases: moappi/json2html

v3.2.0

11 Sep 01:56
Compare
Choose a tag to compare
  • Added refresh triggers, allowing for parts of rendered templates to be updated

  • Added assignment for inputs, allowing for variables to be automatically updated when inputs are changed

v3.0.0

19 Dec 00:04
Compare
Choose a tag to compare

Refactored to work with ES6 supported browsers only!

  • Added support for native JS events

  • Extended Element class with json2html function (Element.prototype.json2html) so can be called directly from an HTML Element

  • Removed support for deprecated template attributes (tag and children)

  • Removed $.json2html jquery function

v2.2.3

09 Feb 19:59
Compare
Choose a tag to compare

Fixed the following issues

  • Proper cleanup for jquery events (removal of -j2h-e event attribute)
  • Added support for - (dash) in variable name for shorthand notation

v2.2.2

08 Apr 16:39
40712fc
Compare
Choose a tag to compare
  • Added support for Typescript
  • Added support for spaces in json variable names for short hand notation
  • Fixed issue with ready event firing multiple times

v2.2.1

24 Jan 23:02
Compare
Choose a tag to compare

Fixed issue with variable name starting with $

v2.2.0

03 Nov 22:13
Compare
Choose a tag to compare

Changes

  • Deprecated reserved 'obj' attribute and replaced with new '{}' attribute
  • Added support for multiple events per object (previously limited to 1 event per attribute)
  • Added experimental ES6 literal support
  • Updated examples to use new reserved {} attribute

v2.1.0

30 Mar 22:37
Compare
Choose a tag to compare

Core Library
Added obj reserved attribute to templates for specifying data objects to render (html elements and components)
Added html blocks to map data to blocks of templates

Support
Added automated testing with mocha
Updated with comprehensive examples

v2.0.0 - UNSUPPORTED

26 Mar 20:33
Compare
Choose a tag to compare
v2.0.0 - UNSUPPORTED Pre-release
Pre-release

re-factored entire library
added components
added j2h-framework compatibility

Updated jQuery Events

09 Apr 22:41
Compare
Choose a tag to compare

Added onReady event for jQuery plugin

Merged jQuery with Master Library

02 Mar 05:02
Compare
Choose a tag to compare

Merged jQuery into master json2html.js and added check for jQuery.
Removed redundant jquery.json2html.js lib