We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is possible do this?
<ngx-scrolltop [size]="55" color="var(--dark)"></ngx-scrolltop>
Because Ive tried but doesnt work
馃槈
The text was updated successfully, but these errors were encountered:
@AlonsoK28 Great idea to use css variables directly 馃憤 I beleive it is possible, but what kind of color are you trying to set?
There are some options for colors: theme (docs), backgroundColor, symbolColor
theme
backgroundColor
symbolColor
As you can see here: https://github.com/bartholomej/ngx-scrolltop#component
For your example it could be like this:
<ngx-scrolltop [size]="55" backgroundColor="var(--dark)" symbolColor="#fff"> </ngx-scrolltop>
Let me know how was it ;)
Sorry, something went wrong.
Iam using auxilary class for Boostrap 4 colors but doesnt works 馃槶
<ngx-scrolltop [size]="55" theme="var(--primary)" backgroundColor="var(--primary)" symbolColor="var(--primary)"></ngx-scrolltop>
@AlonsoK28 OK, so I realized there was a "bug" in Angular 8, but it works in Angular 9.
As you can see here: https://stackblitz.com/edit/ngxscrolltop-cssvariables?file=src/app/app.component.html
Thanks a lot. I'm going to try. 馃榿
working on ng 9 perfectly
ng 9
bartholomej
No branches or pull requests
Is possible do this?
<ngx-scrolltop [size]="55" color="var(--dark)"></ngx-scrolltop>
Because Ive tried but doesnt work
馃槈
The text was updated successfully, but these errors were encountered: