For the complete documentation index, see llms.txt. This page is also available as Markdown.

JQuery tips

Note: you need to install the jquery.d.ts file for these tips

Quickly define a new plugin

Just create jquery-foo.d.ts with:

interface JQuery {
  foo: any;
}

And now you can use $('something').foo({whateverYouWant:'hello jquery plugin'})

Last updated