comments for docs

This commit is contained in:
vitalets 2012-11-30 19:27:23 +04:00
parent a62afc9180
commit 8df731036a
3 changed files with 9 additions and 9 deletions

@ -359,12 +359,12 @@ Applied as jQuery method.
**/
autohide: true,
/**
Action when user clicks outside the container. Can be <code>cancel|submit|ignore</code>
Setting <code>ignore</code> ignore allows to have several containers open.
Action when user clicks outside the container. Can be <code>cancel|submit|ignore</code>.
Setting <code>ignore</code> allows to have several containers open.
@property onblur
@type string
@default cancel
@default 'cancel'
**/
onblur: 'cancel'
};

@ -443,8 +443,8 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
**/
ajaxOptions: null,
/**
Wether to show buttons or not.
Form without buttons can be submitted by Enter (depends on input), by onblur = 'submit' or manually (via submit api method)
Wether to show buttons or not.
Form without buttons can be auto-submitted by input or by onblur = 'submit'.
@property showbuttons
@type boolean

@ -473,7 +473,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
$.fn.editable.defaults = {
/**
Type of input. Can be <code>text|textarea|select|date</code>
Type of input. Can be <code>text|textarea|select|date|checklist</code> and more
@property type
@type string
@ -489,8 +489,8 @@ Makes editable any HTML element on the page. Applied as jQuery method.
**/
disabled: false,
/**
How to toggle editable. Can be <code>click|dblclick|mouseenter|manual</code>.
When set to <code>manual</code> you should manually call <code>show/hide</code> methods of editable.
How to toggle editable. Can be <code>click|dblclick|mouseenter|manual</code>.
When set to <code>manual</code> you should manually call <code>show/hide</code> methods of editable.
**Note**: if you call <code>show</code> or <code>toggle</code> inside **click** handler of some DOM element,
you need to apply <code>e.stopPropagation()</code> because containers are being closed on any click on document.
@ -535,7 +535,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
**/
enablefocus: false,
/**
Initial value of input
Initial value of input. Taken from <code>data-value</code> or element's text.
@property value
@type mixed