Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/jquery

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jquery

TypeScript definitions for jquery

  • 3.5.32
  • ts4.8
  • ts4.9
  • ts5.0
  • ts5.1
  • ts5.2
  • ts5.3
  • ts5.4
  • ts5.5
  • ts5.6
  • ts5.7
  • ts5.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.4M
increased by0.17%
Maintainers
1
Weekly downloads
 
Created

What is @types/jquery?

The @types/jquery package provides TypeScript type definitions for jQuery, a fast, small, and feature-rich JavaScript library. It allows developers using TypeScript to get compile-time type checking and IntelliSense support when working with jQuery, ensuring that they use jQuery functions correctly according to their defined signatures.

What are @types/jquery's main functionalities?

DOM Manipulation

Allows for the manipulation of the HTML content of the selected elements. For example, changing the inner HTML of elements matching the selector.

$(selector).html(value)

Event Handling

Enables attaching event handlers to selected elements. For instance, executing a function when an element is clicked.

$(selector).click(function() { /* handler code here */ })

AJAX

Facilitates making asynchronous HTTP (AJAX) requests. This example demonstrates making a GET request to a specified URL and handling the response.

$.ajax({ url: 'example.com/api', success: function(result) { /* handle result */ } })

Effects and Animations

Provides easy-to-use functions for creating effects and animations on selected elements, such as fading them in.

$(selector).fadeIn()

Other packages similar to @types/jquery

FAQs

Package last updated on 23 Oct 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