Skip to content

ersmo/backbone.text_view

Repository files navigation

backbone.text_view

Backbone text view

Usage

view = new Backbone.TextView({
  name: 'user_name',
  placeholder: 'Please enter your username'
});

Option

defaults:
  name: 'input'
  type: 'text'
  label: ''
  className: 'input-details'
  defaultValue: ''
  placeholder: ''
  disabled: false
  span: ''

License

Copyright (c) 2013 Jarvis Ao Ieong
Licensed under the MIT license.