Update utils.d.ts and cosmetics
parent
30fb6416d2
commit
422d994bfa
|
@ -90,7 +90,7 @@ const classes = {
|
||||||
acceptButton: ({ instance }) => ['p-confirm-dialog-accept', instance.confirmation ? instance.confirmation.acceptClass : null]
|
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 {
|
export default {
|
||||||
name: 'BaseConfirmPopup',
|
name: 'BaseConfirmPopup',
|
||||||
|
|
|
@ -20,8 +20,12 @@ export declare class DomHandler {
|
||||||
static addClass(el: HTMLElement, className: string): void;
|
static addClass(el: HTMLElement, className: string): void;
|
||||||
static removeClass(el: HTMLElement, className: string): void;
|
static removeClass(el: HTMLElement, className: string): void;
|
||||||
static hasClass(el: HTMLElement, className: string): boolean;
|
static hasClass(el: HTMLElement, className: string): boolean;
|
||||||
|
static addStyles(el: HTMLElement, styles: object): void;
|
||||||
static find(el: HTMLElement, selector: string): any[];
|
static find(el: HTMLElement, selector: string): any[];
|
||||||
static findSingle(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 getHeight(el: HTMLElement): number;
|
||||||
static getWidth(el: HTMLElement): number;
|
static getWidth(el: HTMLElement): number;
|
||||||
static absolutePosition(el: HTMLElement, target: HTMLElement): void;
|
static absolutePosition(el: HTMLElement, target: HTMLElement): void;
|
||||||
|
|
Loading…
Reference in New Issue