Skip to content

germanio/picklist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

picklist

a picklist in angular js

requirement

angularjs and bootstrap.css

Usage

download

  1. add picklist.js after angular.js. Make your module depends on fxpicklist
  2. <picklist name="pktest" size="20" data-picklist="" data-pick-model="tselected" data-pick-options="v.name for v in toptions"></picklist>
    1. data-pick-options has the same syntax as ngOptions for select element. The return value from the expression has to be an array. Object is not supported right now
    2. name: the name the form control field. A subform with this name will be attached under parent form
    3. size: how tall the picklist
    4. data-pick-model: model to be bound

Example

Example in Plunker

test

run mvn test

License

MIT

About

a picklist in angular js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 94.2%
  • JavaScript 5.8%