Checkboxxradio: Adjust demo headers

This commit is contained in:
Alexander Schmitz 2015-08-09 11:47:06 -04:00
parent 16abde399d
commit a8fa502853
3 changed files with 12 additions and 5 deletions

View File

@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../themes/base/all.css"> <link rel="stylesheet" href="../../themes/base/all.css">
<link rel="stylesheet" href="../demos.css"> <link rel="stylesheet" href="../demos.css">
<script src="../../external/requirejs/require.js"></script> <script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js"> <script src="../bootstrap.js" data-modules="controlgroup">
$( "input" ).checkboxradio(); $( "input" ).checkboxradio();
$( "[name='shape']").on( "change", function(){ $( "[name='shape']").on( "change", function(){
$( ".shape" ).removeClass( "circle pill square rectangle" ) $( ".shape" ).removeClass( "circle pill square rectangle" )

View File

@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../themes/base/all.css"> <link rel="stylesheet" href="../../themes/base/all.css">
<link rel="stylesheet" href="../demos.css"> <link rel="stylesheet" href="../demos.css">
<script src="../../external/requirejs/require.js"></script> <script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js"> <script src="../bootstrap.js" data-modules="controlgroup">
$( "input" ).checkboxradio(); $( "input" ).checkboxradio();
$( "fieldset" ).controlgroup(); $( "fieldset" ).controlgroup();
</script> </script>

View File

@ -2,12 +2,19 @@
* jQuery UI Checkboxradio @VERSION * jQuery UI Checkboxradio @VERSION
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright 2014 jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
* Released under the MIT license. * Released under the MIT license.
* http://jquery.org/license * http://jquery.org/license
*
* http://api.jqueryui.com/checkboxradio/
*/ */
//>>label: Checkboxradio
//>>group: Widgets
//>>description: Enhances a form with multiple themeable checkboxes or radio buttons.
//>>docs: http://api.jqueryui.com/checkboxradio/
//>>demos: http://jqueryui.com/checkboxradio/
//>>css.structure: ../themes/base/core.css, ../themes/base/button.css, ../themes/base/checkboxradio.css
//>>css.theme: ../themes/base/theme.css
( function( factory ) { ( function( factory ) {
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {