mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Update utils.d.ts and cosmetics
This commit is contained in:
parent
30fb6416d2
commit
422d994bfa
2 changed files with 5 additions and 1 deletions
|
@ -90,7 +90,7 @@ const classes = {
|
|||
acceptButton: ({ instance }) => ['p-confirm-dialog-accept', instance.confirmation ? instance.confirmation.acceptClass : null]
|
||||
};
|
||||
|
||||
const { load: loadStyle } = useStyle(styles, { id: 'primevue_confirmPopup_style', manual: true });
|
||||
const { load: loadStyle } = useStyle(styles, { id: 'primevue_confirmpopup_style', manual: true });
|
||||
|
||||
export default {
|
||||
name: 'BaseConfirmPopup',
|
||||
|
|
4
components/lib/utils/Utils.d.ts
vendored
4
components/lib/utils/Utils.d.ts
vendored
|
@ -20,8 +20,12 @@ export declare class DomHandler {
|
|||
static addClass(el: HTMLElement, className: string): void;
|
||||
static removeClass(el: HTMLElement, className: string): void;
|
||||
static hasClass(el: HTMLElement, className: string): boolean;
|
||||
static addStyles(el: HTMLElement, styles: object): void;
|
||||
static find(el: HTMLElement, selector: string): any[];
|
||||
static findSingle(el: HTMLElement, selector: string): any;
|
||||
static getAttribute(el: HTMLElement, name: string): any;
|
||||
static isAttributeEquals(el: HTMLElement, name: string, value: any): boolean;
|
||||
static isAttributeNotEquals(el: HTMLElement, name: string, value: any): boolean;
|
||||
static getHeight(el: HTMLElement): number;
|
||||
static getWidth(el: HTMLElement): number;
|
||||
static absolutePosition(el: HTMLElement, target: HTMLElement): void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue