From e6df32ab5c6f3fbefbf31ea4319e47b154b187df Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 16 Sep 2024 19:41:59 +0300 Subject: [PATCH] Fixed #6412 --- packages/primevue/src/scrolltop/ScrollTop.d.ts | 7 +------ packages/primevue/src/scrolltop/ScrollTop.vue | 11 ++--------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/packages/primevue/src/scrolltop/ScrollTop.d.ts b/packages/primevue/src/scrolltop/ScrollTop.d.ts index 4c94a512e..39ef8dea8 100644 --- a/packages/primevue/src/scrolltop/ScrollTop.d.ts +++ b/packages/primevue/src/scrolltop/ScrollTop.d.ts @@ -67,15 +67,10 @@ export interface ScrollTopSharedPassThroughMethodOptions { */ export interface ScrollTopPassThroughOptions { /** - * Used to pass attributes to the previous button's DOM element. + * Used to pass attributes to the root's DOM element. * @see {@link ButtonPassThroughOptions} */ root?: ButtonPassThroughOptions; - /** - * Used to pass attributes to the previous button's DOM element. - * @see {@link ButtonPassThroughOptions} - */ - button?: ButtonPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/packages/primevue/src/scrolltop/ScrollTop.vue b/packages/primevue/src/scrolltop/ScrollTop.vue index 8c2419f30..f13202988 100644 --- a/packages/primevue/src/scrolltop/ScrollTop.vue +++ b/packages/primevue/src/scrolltop/ScrollTop.vue @@ -1,9 +1,9 @@