How to use the jquery-ui.structure.css function in jquery-ui

To help you get started, we’ve selected a few jquery-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jquery / download.jqueryui.com / lib / package-1-12-themes.js View on Github external
}

function Package( files, runtime ) {
	this.themeGallery = ThemeGallery( runtime.jqueryUi );
	if ( !runtime.themeVars ) {
		runtime.themeVars = this.themeGallery[ 0 ].vars;
	}
	Package1_12.apply( this, arguments );
}

extend( Package.prototype, {
	"AUTHORS.txt": Package1_12.prototype[ "AUTHORS.txt" ],
	"LICENSE.txt": Package1_12.prototype[ "LICENSE.txt" ],
	"images": Package1_12.prototype[ "images" ],
	"jquery-ui.css": Package1_12.prototype[ "jquery-ui.css" ],
	"jquery-ui.structure.css": Package1_12.prototype[ "jquery-ui.structure.css" ],
	"jquery-ui.theme.css": Package1_12.prototype[ "jquery-ui.theme.css" ],
	"jquery-ui.min.css": Package1_12.prototype[ "jquery-ui.min.css" ],
	"jquery-ui.structure.min.css": Package1_12.prototype[ "jquery-ui.structure.min.css" ],
	"jquery-ui.theme.min.css": Package1_12.prototype[ "jquery-ui.theme.min.css" ],

	"themes": function( callback ) {
		var files = {};
		var structureCssFileNames = this.structureCssFileNames;
		var themeCssFileNames = this.themeCssFileNames;
		var pkgJson = this.pkgJson;
		var themeGallery = this.themeGallery;
		this.structureCss.promise.then( function( structureCss ) {
			async.mapSeries( themeGallery, function( theme, callback ) {
				var themeCss = theme.css();

				files[path.join(theme.folderName(), "theme.css")] = themeCss;

jquery-ui

A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.

MIT
Latest version published 2 years ago

Package Health Score

82 / 100
Full package analysis