DataBind by Don Oktrova

<PackageReference Include="DataBind" Version="2.0.0" />

Package Files

0 bytes


Legend

  •  Assembly
  •  Namespace
  •  Class
  •  Interface or Abstract Class
  •  Static Class
  •  Struct
  •  Enum
  •  Delegate
  •  Grayed out == non-public

 DataBind 2.0.0

DataBind is a simple javascript function that facilitates binding Data from a JSON object to a HTML template. The objective of this script is to enable using templates without introducing any new or invalid syntax and without dictating the way you structure your application. All you need is a single function. Documentation: https://databind.codeplex.com/documentation

<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
  <metadata>
    <id>DataBind</id>
    <version>2.0</version>
    <title>DataBind</title>
    <authors>Don Oktrova</authors>
    <owners>Don Oktrova</owners>
    <licenseUrl>https://databind.codeplex.com/license</licenseUrl>
    <projectUrl>http://databind.codeplex.com/</projectUrl>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>DataBind is a simple javascript function that facilitates binding Data from a JSON object to a HTML template. The objective of this script is to enable using templates without introducing any new or invalid syntax and without dictating the way you structure your application. All you need is a single function.
Documentation:
https://databind.codeplex.com/documentation</description>
    <summary>JavaScript  JSON to HTML  binder.</summary>
    <releaseNotes>PLEASE USE "DATAELEMENT" INSTEAD as this package is no longer updated.

NOT BACKWARDS COMPATIBLE
(It can easily be made compatible by adding .innerHTML to the return)

DataBind now returns a HTMLElement instead of HTML Text.

This version accepts passing an array of JSON objects to the function and it will repeat the template automatically.

Now you can chose to overwrite the template with a bound element or keep the template in tact and return a clone.</releaseNotes>
    <copyright>Don Oktrova</copyright>
    <language>en-US</language>
    <tags>data bind html template javascript json angular binding views models gui database signalr websockets rest</tags>
  </metadata>
</package>