How to use jquery-ui - 10 common examples

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 / test / package-1-12.0.js View on Github external
pkg.toJson(function( error, files ) {
			if (error) {
				return test.done( error );
			}
			commonFilesCheck( test, files );
			themeFilesCheck( test, files, true );

			// 11 components selected, 7 have CSS, plus core, theme,
			// checkboxradio, controlgroup (tmp button dependencies)
			var includes = files[ "jquery-ui.min.css" ].match( /\* Includes: (.+)/ );
			test.equal( includes[ 1 ].split( "," ).length, 11, someWidgets2 + " -> " + includes[ 1 ] );

			test.done();
		});
	},
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;

				var _banner = banner( pkgJson, structureCssFileNames.concat( themeCssFileNames ), {
github jquery / download.jqueryui.com / lib / package-1-12-themes.js View on Github external
return data.replace( /^\s*\/\*[\s\S]*?\*\/\s*/g, "" );
}

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();
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;
github jquery / download.jqueryui.com / lib / package-1-12-themes.js View on Github external
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;

				var _banner = banner( pkgJson, structureCssFileNames.concat( themeCssFileNames ), {
					customThemeUrl: theme.url()
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;
github jquery / download.jqueryui.com / lib / package-1-12-themes.js View on Github external
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;

				var _banner = banner( pkgJson, structureCssFileNames.concat( themeCssFileNames ), {
					customThemeUrl: theme.url()
				});
github mozilla / addons-code-manager / stories / FileTree.stories.tsx View on Github external
.add('files with comments', () => {
    const version = defaultVersion;
    const store = createStoreWithVersion({ version });
    store.dispatch(versionsActions.expandTree({ versionId: version.id }));
    dispatchComments({
      store,
      versionId: version.id,
      comments: [
        createFakeExternalComment({
          filename: version.file.entries['manifest.json'].path,
        }),
        createFakeExternalComment({
          filename:
            version.file.entries['jquery-ui/js/jquery-1.7.1.min.js'].path,
        }),
        createFakeExternalComment({
          filename:
            version.file.entries['background-scripts/libs/jquery.min.js'].path,
        }),
        createFakeExternalComment({
          filename: version.file.entries['lib/compat.js'].path,
        }),
      ],
    });
    return <div>{render({ store })}</div>;
  });
github synyx / urlaubsverwaltung / src / main / webapp / components / filter-modal / index.js View on Github external
$(document).ready(async function () {

  const locale = window.navigator.language;
  if (locale === 'de') {
    const de = await import('jquery-ui/ui/i18n/datepicker-de');
    datepicker.setDefaults({
      ...de,
      weekHeader: 'Wo'
    });
  }
  else {
    const en = await import('jquery-ui/ui/i18n/datepicker-en-GB');
    datepicker.setDefaults({
      ...en,
      dateFormat: 'dd.mm.yy'
    });
  }

  $('#startDate').datepicker();
  $('#endDate').datepicker();
});
github getredash / redash / client / app / lib / sortable.js View on Github external
angular.forEach(oldVal, (oldValue, key) => {
                if (!newVal || !(key in newVal)) {
                  if (key in directiveOpts) {
                    if (key === 'ui-floating') {
                      opts[key] = 'auto';
                    } else {
                      opts[key] = patchSortableOption(key, undefined);
                    }
                    return;
                  }

                  if (!defaultOptions) {
                    defaultOptions = sortable().options;
                  }
                  let defaultValue = defaultOptions[key];
                  defaultValue = patchSortableOption(key, defaultValue);

                  if (!optsDiff) {
                    optsDiff = {};
                  }
                  optsDiff[key] = defaultValue;
                  opts[key] = defaultValue;
                }
              });
            }

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

77 / 100
Full package analysis