Update utils.d.ts and cosmetics

pull/4087/head
mertsincan 2023-06-26 13:11:25 +01:00
parent 30fb6416d2
commit 422d994bfa
2 changed files with 5 additions and 1 deletions

View File

@ -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',

View File

@ -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;