|
181 | 181 | <p>And can then override an individual datepicker for a specific locale:</p>
|
182 | 182 | <code>$( selector ).datepicker( $.datepicker.regional[ "fr" ] );</code>
|
183 | 183 |
|
| 184 | + <xi:include href="../includes/widget-theming.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
| 185 | + |
| 186 | + <ul> |
| 187 | + <li> |
| 188 | + <code>ui-datepicker</code>: The outer container of the datepicker. If the datepicker is inline, this element will additionally have a <code>ui-datepicker-inline</code> class. If the <a href="#option-isRTL"><code>isRTL</code></a> option is set, this element will additionally have a class of <code>ui-datepicker-rtl</code>. |
| 189 | + <ul> |
| 190 | + <li> |
| 191 | + <code>ui-datepicker-header</code>: The container for the datepicker's header. |
| 192 | + <ul> |
| 193 | + <li><code>ui-datepicker-prev</code>: The control used to select previous months.</li> |
| 194 | + <li><code>ui-datepicker-next</code>: The control used to select subsequent months.</li> |
| 195 | + <li> |
| 196 | + <code>ui-datepicker-title</code>: The container for the datepicker's title containing the month and year. |
| 197 | + <ul> |
| 198 | + <li><code>ui-datepicker-month</code>: The textual display of the month or a <code><select></code> element if the <a href="#option-changeMonth"><code>changeMonth</code></a> option is set.</li> |
| 199 | + <li><code>ui-datepicker-year</code>: The textual display of the year or a <code><select></code> element if the <a href="#option-changeYear"><code>changeYear</code></a> option is set.</li> |
| 200 | + </ul> |
| 201 | + </li> |
| 202 | + </ul> |
| 203 | + </li> |
| 204 | + <li> |
| 205 | + <code>ui-datepicker-calendar</code>: The table that contains the calendar itself. |
| 206 | + <ul> |
| 207 | + <li><code>ui-datepicker-week-end</code>: Cells containing weekend days.</li> |
| 208 | + <li><code>ui-datepicker-other-month</code>: Cells containing days that occur in a month other than the currently selected month.</li> |
| 209 | + <li><code>ui-datepicker-unselectable</code>: Cells containing days that are not selectable by the user.</li> |
| 210 | + <li><code>ui-datepicker-current-day</code>: The cell containing the selected day.</li> |
| 211 | + <li><code>ui-datepicker-today</code>: The cell containing today's date.</li> |
| 212 | + </ul> |
| 213 | + </li> |
| 214 | + <li> |
| 215 | + <code>ui-datepicker-buttonpane</code>: The buttonpane that is used when the <a href="#option-showButtonPanel"><code>showButtonPanel</code></a> option is set. |
| 216 | + <ul> |
| 217 | + <li><code>ui-datepicker-current</code>: The button used to select today's date.</li> |
| 218 | + </ul> |
| 219 | + </li> |
| 220 | + </ul> |
| 221 | + </li> |
| 222 | + </ul> |
| 223 | + |
| 224 | + <p>If the <a href="#option-numberOfMonths"><code>numberOfMonths</code></a> option is used to display multiple months at once, a number of additional classes are used:</p> |
| 225 | + |
| 226 | + <ul> |
| 227 | + <li> |
| 228 | + <code>ui-datepicker-multi</code>: The outermost container of a multiple month datepicker. This element can additionally have a <code>ui-datepicker-multi-2</code>, <code>ui-datepicker-multi-3</code>, or <code>ui-datepicker-multi-4</code> class name depending on the number of months to display. |
| 229 | + <ul> |
| 230 | + <li><code>ui-datepicker-group</code>: Individual pickers within the group. This element will additionally have a <code>ui-datepicker-group-first</code>, <code>ui-datepicker-group-middle</code>, or <code>ui-datepicker-group-last</code> class name depending on its position within the group.</li> |
| 231 | + </ul> |
| 232 | + </li> |
| 233 | + </ul> |
| 234 | + |
184 | 235 | <h3>Dependencies</h3>
|
185 | 236 | <ul>
|
186 | 237 | <li><a href="/category/ui-core/">UI Core</a></li>
|
|
0 commit comments