File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 33 (click) ="scrollTop() "
44 [class.fade-in] ="fadeState() === 'fading-in' "
55 [class.fade-out] ="fadeState() === 'fading-out' "
6- [class.idle] ="fadeState() === 'idle' "
76 [style.background-color] ="backgroundColor() "
87 aria-label ="Scroll to top "
9- style ="overflow: visible "
108 >
119 < div class ="content " #content >
1210 < ng-content > </ ng-content >
Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ export class NgxScrollTopComponent implements OnInit {
7070 @Input ( ) @HostBinding ( 'style.font-size' ) public fontSize = '16px' ;
7171
7272 /**
73- * Height of back to top button in string px format.
73+ * Height of back to top button in string format.
7474 *
75- * Default: `'25px '`
75+ * @example `'32px'` or `'2rem '`
7676 */
7777 @Input ( ) @HostBinding ( 'style.height' ) public height = '40px' ;
7878
@@ -84,9 +84,9 @@ export class NgxScrollTopComponent implements OnInit {
8484 public readonly position = input < 'left' | 'right' > ( 'right' ) ;
8585
8686 /**
87- * Width of back to top button in string px format.
87+ * Width of back to top button in string format.
8888 *
89- * Default: `'25px '`
89+ * @example `'32px'` or `'2rem '`
9090 */
9191 @Input ( ) @HostBinding ( 'style.width' ) public width = '40px' ;
9292
You can’t perform that action at this time.
0 commit comments