comments for docs
This commit is contained in:
parent
9db8b9c60d
commit
5ac48f3fd8
src/inputs
@ -129,16 +129,16 @@ $(function(){
|
||||
/**
|
||||
@property inputclass
|
||||
@type string
|
||||
@default
|
||||
@default null
|
||||
**/
|
||||
inputclass: '',
|
||||
inputclass: null,
|
||||
|
||||
/**
|
||||
Separator of values when reading from 'data-value' string
|
||||
Separator of values when reading from `data-value` attribute
|
||||
|
||||
@property separator
|
||||
@type string
|
||||
@default ', '
|
||||
@default ','
|
||||
**/
|
||||
separator: ','
|
||||
});
|
||||
|
@ -128,9 +128,9 @@ $(function(){
|
||||
tpl:'<div class="editable-date well"></div>',
|
||||
/**
|
||||
@property inputclass
|
||||
@default
|
||||
@default null
|
||||
**/
|
||||
inputclass: '',
|
||||
inputclass: null,
|
||||
/**
|
||||
Format used for sending value to server. Also applied when converting date from <code>data-value</code> attribute.<br>
|
||||
Possible tokens are: <code>d, dd, m, mm, yy, yyyy</code>
|
||||
|
@ -2,6 +2,11 @@
|
||||
Bootstrap datefield input - modification for inline mode.
|
||||
Shows normal <input type="text"> and binds popup datepicker.
|
||||
Automatically shown in inline mode.
|
||||
|
||||
@class datefield
|
||||
@extends date
|
||||
|
||||
@since 1.4.0
|
||||
**/
|
||||
(function ($) {
|
||||
|
||||
@ -52,7 +57,6 @@ Automatically shown in inline mode.
|
||||
DateField.defaults = $.extend({}, $.fn.editabletypes.date.defaults, {
|
||||
/**
|
||||
@property tpl
|
||||
@default
|
||||
**/
|
||||
tpl:'<div class="input-append date"><input type="text"/><span class="add-on"><i class="icon-th"></i></span></div>',
|
||||
/**
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
jQuery UI Datepicker.
|
||||
Description and examples: http://jqueryui.com/datepicker.
|
||||
This input is also accessible as **date** type. Do not use it together with __bootstrap-datepicker__ as both apply <code>$().datepicker()</code> method.
|
||||
This input is also accessible as **date** type. Do not use it together with __bootstrap-datepicker__ as both apply <code>$().datepicker()</code> method.
|
||||
For **i18n** you should include js file from here: https://github.com/jquery/jquery-ui/tree/master/ui/i18n.
|
||||
|
||||
@class dateui
|
||||
@ -139,9 +139,9 @@ $(function(){
|
||||
tpl:'<div class="editable-date"></div>',
|
||||
/**
|
||||
@property inputclass
|
||||
@default ''
|
||||
@default null
|
||||
**/
|
||||
inputclass: '',
|
||||
inputclass: null,
|
||||
/**
|
||||
Format used for sending value to server. Also applied when converting date from <code>data-value</code> attribute.<br>
|
||||
Full list of tokens: http://docs.jquery.com/UI/Datepicker/formatDate
|
||||
|
@ -2,6 +2,11 @@
|
||||
jQuery UI datefield input - modification for inline mode.
|
||||
Shows normal <input type="text"> and binds popup datepicker.
|
||||
Automatically shown in inline mode.
|
||||
|
||||
@class dateuifield
|
||||
@extends dateui
|
||||
|
||||
@since 1.4.0
|
||||
**/
|
||||
(function ($) {
|
||||
|
||||
@ -48,9 +53,9 @@ Automatically shown in inline mode.
|
||||
tpl: '<input type="text"/>',
|
||||
/**
|
||||
@property inputclass
|
||||
@default ''
|
||||
@default null
|
||||
**/
|
||||
inputclass: '',
|
||||
inputclass: null,
|
||||
|
||||
/* datepicker config */
|
||||
datepicker: {
|
||||
|
@ -254,7 +254,7 @@ List - abstract class for inputs that have source option loaded from js array or
|
||||
@type string | array | object | function
|
||||
@default null
|
||||
**/
|
||||
source:null,
|
||||
source: null,
|
||||
/**
|
||||
Data automatically prepended to the beginning of dropdown list.
|
||||
|
||||
@ -262,7 +262,7 @@ List - abstract class for inputs that have source option loaded from js array or
|
||||
@type string | array | object | function
|
||||
@default false
|
||||
**/
|
||||
prepend:false,
|
||||
prepend: false,
|
||||
/**
|
||||
Error message when list cannot be loaded (e.g. ajax error)
|
||||
|
||||
|
@ -98,7 +98,11 @@ $(function(){
|
||||
placeholder: null,
|
||||
|
||||
/**
|
||||
Whether to show `clear` button / link or not
|
||||
Whether to show `clear` button
|
||||
|
||||
@property clear
|
||||
@type boolean
|
||||
@default true
|
||||
**/
|
||||
clear: true
|
||||
});
|
||||
|
@ -1,12 +1,19 @@
|
||||
/**
|
||||
Bootstrap wysihtml5 input
|
||||
See https://github.com/jhollingworth/bootstrap-wysihtml5
|
||||
Bootstrap wysihtml5 editor.
|
||||
To use it you should **manually** include required js and css files.
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/css/bootstrap-wysihtml5.css"></link>
|
||||
<script src="js/wysihtml5-0.3.0.js"></script>
|
||||
<script src="js/bootstrap-wysihtml5.js"></script>
|
||||
|
||||
You can download these files from https://github.com/jhollingworth/bootstrap-wysihtml5
|
||||
|
||||
@class wysihtml5
|
||||
@extends abstractinput
|
||||
@final
|
||||
@since 1.4.0
|
||||
@example
|
||||
<a href="#" id="comments" data-type="wysihtml5" data-pk="1">awesome comment!</a>
|
||||
<div id="comments" data-type="wysihtml5" data-pk="1"><h2>awesome</h2> comment!</div>
|
||||
<script>
|
||||
$(function(){
|
||||
$('#comments').editable({
|
||||
@ -86,9 +93,9 @@ $(function(){
|
||||
tpl:'<textarea class="editable-wysihtml5"></textarea>',
|
||||
/**
|
||||
@property inputclass
|
||||
@default
|
||||
@default null
|
||||
**/
|
||||
inputclass: '',
|
||||
inputclass: null,
|
||||
/**
|
||||
Placeholder attribute of input. Shown when input is empty.
|
||||
|
||||
@ -106,7 +113,8 @@ $(function(){
|
||||
**/
|
||||
rows: 10,
|
||||
/**
|
||||
Wysihtml5 defaut options
|
||||
Wysihtml5 defaut options.
|
||||
See https://github.com/jhollingworth/bootstrap-wysihtml5#options
|
||||
|
||||
@property wysihtml5
|
||||
@type object
|
||||
|
Loading…
x
Reference in New Issue
Block a user