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 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
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
to
inline or embedded ------------------ Instantiating the datepicker on a simple div will give an embedded picker that is always visible. .. code-block:: html