primefaces
TypeScript icon, indicating that this package has built-in type declarations

14.0.0 • Public • Published

PrimeFaces

Here are the typings for the client-side JavaScript API, please visit PrimeFaces.org for more information on PrimeFaces.

PrimeFaces Logo

PrimeFaces is one of the most popular UI libraries in Java EE Ecosystem and widely used by software companies, world renowned brands, banks, financial institutions, insurance companies, universities and more. Here are some of the users who notified us or subscribed to PrimeFaces Support Service.

This package contains the type declarations file for the client-side JavaScript part of PrimeFaces.

You can also view the documentation generated via TypeDoc from this declaration file.

Finally, you may also be interested in the PrimeFaces user guide.

Type declarations

PrimeFaces is a global library that adds methods and constants to the global window scope. To use the type declarations in a JavaScript or TypeScript file, use a triple-slash directive like this (must be at the top of the file):

/// <reference types="primefaces" />

// Now your IDE or transpiler can issue a warning that "search" does not exist
// on a jQuery object. You can now also enjoy autocompletion.
PF("dataTable").jq.search("tbody td");

Or add it to the compiler settings in your tsconfig.json:

{
    "compilerOptions": {
        "types": ["primefaces"]
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i primefaces

Weekly Downloads

373

Version

14.0.0

License

MIT

Unpacked Size

1.49 MB

Total Files

5

Last publish

Collaborators

  • blutorange
  • melloware