DataBind 2.0.0
dotnet add package DataBind --version 2.0.0
NuGet\Install-Package DataBind -Version 2.0.0
<PackageReference Include="DataBind" Version="2.0.0" />
paket add DataBind --version 2.0.0
#r "nuget: DataBind, 2.0.0"
// 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
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
Learn more about Target Frameworks and .NET Standard.
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 | Downloads | Last updated |
---|---|---|
2.0.0 | 4,948 | 11/6/2014 |
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.