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

Install-Package DataBind -Version 2.0.0
dotnet add package DataBind --version 2.0.0
<PackageReference Include="DataBind" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DataBind --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DataBind, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DataBind as a Cake Addin
#addin nuget:?package=DataBind&version=2.0.0

// Install DataBind as a Cake Tool
#tool nuget:?package=DataBind&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 1,975 11/6/2014