Gulp and bower++, could break stuff
This commit is contained in:
1 parent
3727f1c14a
commit
8d30585cdb
504 files changed
+93722
-9819
No files matched your search
@@ -0,0 +1,50 @@
|
||||
Markup
|
||||
=======
|
||||
|
||||
The following are examples of supported markup. On their own, these will not provide a datepicker widget; you will need to instantiate the datepicker on the markup.
|
||||
|
||||
|
||||
input
|
||||
-----
|
||||
|
||||
The simplest case: focusing the input (clicking or tabbing into it) will show the picker.
|
||||
|
||||
.. code-block:: html
|
||||
|
||||
<input value="02-16-2012">
|
||||
|
||||
component
|
||||
---------
|
||||
|
||||
Adding the ``date`` class to an ``input-append`` or ``input-prepend`` bootstrap component will allow the ``add-on`` elements to trigger the picker.
|
||||
|
||||
.. code-block:: html
|
||||
|
||||
<div class="input-append date">
|
||||
<input value="12-02-2012">
|
||||
<span class="add-on"><i class="icon-th"></i></span>
|
||||
</div>
|
||||
|
||||
|
||||
date-range
|
||||
----------
|
||||
|
||||
Using the ``input-daterange`` construct with multiple child inputs will instantiate one picker per input and link them together to allow selecting ranges.
|
||||
|
||||
.. code-block:: html
|
||||
|
||||
<div class="input-daterange">
|
||||
<input value="2012-04-05" />
|
||||
<span class="add-on">to</span>
|
||||
<input value="2012-04-07" />
|
||||
</div>
|
||||
|
||||
|
||||
inline or embedded
|
||||
------------------
|
||||
|
||||
Instantiating the datepicker on a simple div will give an embedded picker that is always visible.
|
||||
|
||||
.. code-block:: html
|
||||
|
||||
<div></div>
|
||||
Reference in new issue
Block a user