Skip to content

treygriffith/oz-val

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oz-val

Form value tag for Oz.

Installation

Using component:

$ component install treygriffith/oz-val

Using a script tag (UMD compatible)

<script src="./oz-val.min.js"></script>

Usage

Bind a form element's value to a template property. See Two-way Bindings for information on how to update the data model with data from the template.

Notation:

<input oz-val="name">

Example:

var context = {
  name: "Tobi"
};
<input oz-val="name" value="Tobi">

License

MIT

About

Form value tag for Oz

Resources

Stars

Watchers

Forks

Packages

No packages published