teacup-databind
Teacup plugin to support Knockout(.js)
$ cnpm install teacup-databind 
SYNC missed versions from official npm registry.

Teacup Knockout helper

A Knockout helper plugin for Teacup.

teacup = require 'teacup'
teacup_databind = require 'teacup-databind'
teacup.use teacup_databind()

console.log teacup.render ->
  {input} = teacup

  input '.stylish',
    bind:
      value: 'name'
      disable: 'hasNoName()'

# Outputs <input class="stylish" data-bind="value: name, disable: hasNoName()" />

Current Tags

  • 1.0.1                                ...           latest (6 years ago)

1 Versions

  • 1.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)

Copyright 2014 - 2017 © taobao.org |