Skip to content

Commit 569a8bd

Browse files
committed
Add copilot suggestions.
1 parent 33fa4c6 commit 569a8bd

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,17 @@ Customization with optional inputs and icon
152152

153153
## 📚 Component API <a name="api"></a>
154154

155-
| Input | Value Typing | Default Value | Description |
156-
| ---------------------- | ---------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
157-
| **backgroundColor** | string | #0D58C0 | Background color of the back to top button. Define any 'x' css property available for 'background-color: x'. |
158-
| **bottomOffset** | string \| number | 0px | Offset px from bottom of page when scrolled to bottom. For example this can be used to make sure the back to top button never overlaps a footer. |
159-
| **displayAtYPosition** | string \| number | 420px | The back to top button will not be displayed until the user scrolls to the provided Y (vertical px) coordinate on the page. |
160-
| **fontColor** | string | #FFFFFF | The font color for the nested content within the back to top button. Define any 'x' css property available for 'color: x'. |
161-
| **fontSize** | string | 16px | The font size for the nested content within the back to top button. Define any 'x' css property available for 'font-size: x'. |
162-
| **height** | string | 32px \| 1rem | Height of back to top button in string format. |
163-
| **position** | left \| right | right | Position on-screen where the back to top button is displayed. |
164-
| **width** | string | 32px \| 1rem | Width of back to top button in string format. |
165-
| **zIndex** | number | 999 | Style the z-index for the back to top button as needed for correct layer height adjustment. This can be useful when working with sticky headers. |
155+
| Input | Value Typing | Default Value | Description |
156+
| ---------------------- | ---------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
157+
| **backgroundColor** | string | `#0D58C0` | Background color of the back to top button. Define any 'x' css property available for 'background-color: x'. |
158+
| **bottomOffset** | string \| number | `0px` | Offset px from bottom of page when scrolled to bottom. For example this can be used to make sure the back to top button never overlaps a footer. |
159+
| **displayAtYPosition** | string \| number | `420px` | The back to top button will not be displayed until the user scrolls to the provided Y (vertical px) coordinate on the page. |
160+
| **fontColor** | string | `#FFFFFF` | The font color for the nested content within the back to top button. Define any 'x' css property available for 'color: x'. |
161+
| **fontSize** | string | `16px` | The font size for the nested content within the back to top button. Define any 'x' css property available for 'font-size: x'. |
162+
| **height** | string | `32px` \| `1rem` | Height of back to top button in string format. |
163+
| **position** | left \| right | `right` | Position on-screen where the back to top button is displayed. |
164+
| **width** | string | `32px` \| `1rem` | Width of back to top button in string format. |
165+
| **zIndex** | number | `999` | Style the z-index for the back to top button as needed for correct layer height adjustment. This can be useful when working with sticky headers. |
166166

167167
<p align="right">[ <a href="#index">🔍 Index</a> ]</p>
168168

src/app/public/ngx-scroll-top.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ export class NgxScrollTopComponent implements OnInit, OnDestroy {
269269
}
270270
this.fadeState.set('idle'); // Reset fade state
271271
this.shouldRenderButton.set(true);
272-
this.isButtonNotRendered.set(true);
273272

274273
// Cancel previous animation frame if exists
275274
if (this.animationFrameId) {

0 commit comments

Comments
 (0)