Skip to content

JHson v2.3.0 - Base 64 Image support! Rendering public functions! Support for new website!

Latest
Compare
Choose a tag to compare
@william-troup william-troup released this 09 Sep 21:23
5269b97

Public Functions:

  • Added "includeImagesAsBase64()" support for "json()", which states if the image source attributes should be included as a Base 64 URLs (defaults to false).
  • Added new public function "render()", which will render a specific DOM element using the options you specify.
  • Added new public function "renderAll()", which will find all new DOM elements with the "data-jhson-js" attribute and render them.

General Improvements:

  • When "includeCssProperties()" and "includeAttributes()" are set to true, the attribute "style" is now ignored.
  • Updated all documentation to reference the new website!