Socket
Socket
Sign inDemoInstall

jquery-ui

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-ui

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


Version published
Maintainers
5
Created

What is jquery-ui?

The jquery-ui npm package is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. It provides a wide range of functionalities to enhance the user experience of web applications.

What are jquery-ui's main functionalities?

Draggable

The Draggable feature allows elements to be moved using the mouse. The code sample initializes a draggable element with the ID 'draggable'.

$(function() { $("#draggable").draggable(); });

Droppable

The Droppable feature enables elements to be used as drop targets. The code sample makes an element with the ID 'droppable' a drop target for the draggable element.

$(function() { $("#draggable").draggable(); $("#droppable").droppable({ drop: function(event, ui) { $(this).addClass("ui-state-highlight").find("p").html("Dropped!"); } }); });

Resizable

The Resizable feature allows elements to be resized by dragging their edges or corners. The code sample initializes a resizable element with the ID 'resizable'.

$(function() { $("#resizable").resizable(); });

Sortable

The Sortable feature enables a list of elements to be sorted using the mouse. The code sample initializes a sortable list with the ID 'sortable'.

$(function() { $("#sortable").sortable(); $("#sortable").disableSelection(); });

Accordion

The Accordion feature creates a collapsible content panel. The code sample initializes an accordion element with the ID 'accordion'.

$(function() { $("#accordion").accordion(); });

Datepicker

The Datepicker feature provides a calendar interface for selecting dates. The code sample initializes a datepicker input field with the ID 'datepicker'.

$(function() { $("#datepicker").datepicker(); });

Other packages similar to jquery-ui

FAQs

Package last updated on 05 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc