-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathcheckboxradio.xml
28 lines (28 loc) · 1.93 KB
/
checkboxradio.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="../entries2html.xsl" ?>
<entry name="checkboxradio" namespace="fn" type="widget" widgetnamespace="mobile" event-prefix="checkboxradio" init-selector="input:not( :jqmData(role='flipswitch' ) )[type='checkbox'],input[type='radio']:not( :jqmData(role='flipswitch' ))">
<title>Checkboxradio Widget</title>
<desc>Creates a checkboxradio widget</desc>
<longdesc>
<p>The jQuery UI checkboxradio widget is bundled in jQuery Mobile with some changes. Thus, its <a href="//api.jqueryui.com/checkboxradio/">API documentation</a> fully describes its functionality.</p>
</longdesc>
<added>1.0</added>
<options>
<xi:include href="../includes/widget-option-enhanced.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<option name="iconpos" default='"left"' example-value='"right"'>
<desc>Allows you to specify on which side of the checkbox or radio button the checkmark/radio icon will appear.
<p>This option is also exposed as a data attribute: <code>data-iconpos="right"</code>.</p>
</desc>
<type name="String" />
</option>
<xi:include href="../includes/widget-option-initSelector.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<xi:include href="../includes/widget-option-mini.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<option name="wrapperClass" default="null" example-value='"custom-class"'>
<desc>It is difficult to write custom CSS for the wrapper <code>div</code> around the native <code>input</code> element generated by the framework. This option allows you to specify one or more space-separated class names to be added to the wrapper <code>div</code> element by the framework.
<p>This option is also exposed as a data attribute: <code>data-wrapper-class="custom-class"</code>.</p>
<xi:include href="../includes/widget-option-deprecation-1.6.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
</desc>
</option>
</options>
<category slug="widgets"/>
</entry>