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, autohide: true,
/** /**
Action when user clicks outside the container. Can be <code>cancel|submit|ignore</code> 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. Setting <code>ignore</code> allows to have several containers open.
@property onblur @property onblur
@type string @type string
@default cancel @default 'cancel'
**/ **/
onblur: 'cancel' onblur: 'cancel'
}; };

@ -443,8 +443,8 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
**/ **/
ajaxOptions: null, ajaxOptions: null,
/** /**
Wether to show buttons or not. 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) Form without buttons can be auto-submitted by input or by onblur = 'submit'.
@property showbuttons @property showbuttons
@type boolean @type boolean

@ -473,7 +473,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
$.fn.editable.defaults = { $.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 @property type
@type string @type string
@ -489,8 +489,8 @@ Makes editable any HTML element on the page. Applied as jQuery method.
**/ **/
disabled: false, disabled: false,
/** /**
How to toggle editable. Can be <code>click|dblclick|mouseenter|manual</code>. 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. 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, **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. 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, enablefocus: false,
/** /**
Initial value of input Initial value of input. Taken from <code>data-value</code> or element's text.
@property value @property value
@type mixed @type mixed