koSelect


Snippet Details

Shortcut
koselect
Description
Snippet for KnockoutJS Select List
Language
html
Author
Joshua Blackstone
Upload on
5-3-2014 20:34:03
Downloads
1914

Declarations

ID ToolTip Default
options The options list from your viewmodel.
value The value to be captured in your list from your viewmodel.
text The text value for your dropdown. function(e){ }
id The id value for your dropdown. id
caption The default/empty value for your dropdown. -- Select --

Code Output

        <select class="form-control" data-bind="options: $options$, value: $value$, optionsText: $text$, optionsValue: '$id$', optionsCaption: '$caption$'"></select>
	
    

HTML Output


Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages