Skip to content

Commit

Permalink
Update API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Jan 28, 2025
1 parent 3039594 commit ecde5f7
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 16 deletions.
17 changes: 17 additions & 0 deletions apps/showcase/doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -78968,6 +78968,23 @@
}
}
},
"primevue/src/utils/Utils": {
"functions": {
"description": "Defines the custom functions used by the module.",
"values": {
"blockBodyScroll": {
"name": "blockBodyScroll",
"parameters": [],
"returnType": "void"
},
"unblockBodyScroll": {
"name": "unblockBodyScroll",
"parameters": [],
"returnType": "void"
}
}
}
},
"virtualscroller": {
"description": "VirtualScroller is a performant approach to handle huge data efficiently.\n\n[Live Demo](https://www.primevue.org/virtualscroller/)",
"components": {
Expand Down
4 changes: 2 additions & 2 deletions packages/primevue/src/utils/Utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare function blockBodyScroll() : void;
export declare function unblockBodyScroll() : void;
export declare function blockBodyScroll(): void;
export declare function unblockBodyScroll(): void;
4 changes: 2 additions & 2 deletions packages/primevue/src/utils/Utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $dt } from "@primeuix/styled";
import * as utils from "@primeuix/utils";
import { $dt } from '@primeuix/styled';
import * as utils from '@primeuix/utils';

export function blockBodyScroll() {
utils.blockBodyScroll({ variableName: $dt('scrollbar.width').name });
Expand Down
28 changes: 16 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecde5f7

Please sign in to comment.