mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 22:40:31 +00:00
14 lines
No EOL
478 B
JavaScript
14 lines
No EOL
478 B
JavaScript
/*
|
|
* jQuery Mobile Framework : prototype for "fieldcontain" plugin - simple class additions to make form row separators
|
|
* Copyright (c) jQuery Project
|
|
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
|
* Note: Code is in draft form and is subject to change
|
|
*/
|
|
(function($){
|
|
$.fn.fieldcontain = function(options){
|
|
var o = $.extend({
|
|
theme: 'c'
|
|
},options);
|
|
return $(this).addClass('ui-field-contain ui-body ui-body-'+o.theme);
|
|
};
|
|
})(jQuery); |