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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
` constructor(obj?: ISlimScrollOptions) {
this.position = obj && obj.position ? obj.position : 'right'; this.barBackground = obj && obj.barBackground ? obj.barBackground : '#343a40'; this.barOpacity = obj && obj.barOpacity ? obj.barOpacity : '1'; this.barWidth = obj && obj.barWidth ? obj.barWidth : '12'; this.barBorderRadius = obj && obj.barBorderRadius ? obj.barBorderRadius : '5'; this.barMargin = obj && obj.barMargin ? obj.barMargin : '1px 0'; this.gridBackground = obj && obj.gridBackground ? obj.gridBackground : '#adb5bd'; this.gridOpacity = obj && obj.gridOpacity ? obj.gridOpacity : '1'; this.gridWidth = obj && obj.gridWidth ? obj.gridWidth : '8'; this.gridBorderRadius = obj && obj.gridBorderRadius ? obj.gridBorderRadius : '10'; this.gridMargin = obj && obj.gridMargin ? obj.gridMargin : '1px 2px'; this.alwaysVisible = obj && typeof obj.alwaysVisible !== 'undefined' ? obj.alwaysVisible : true; this.visibleTimeout = obj && obj.visibleTimeout ? obj.visibleTimeout : 1000;
} `
If we are setup for number 0, script doesn't work. In example gridOpacity = 0. We have a basic value.
I think in constructor need check with type of undefined.
The text was updated successfully, but these errors were encountered:
gridOpacity is not working with any values. Did anyone found any solution for this
Sorry, something went wrong.
@akvaliya it should work with values from 0 to 1, just like css opacity property.
0
1
opacity
No branches or pull requests
Hello
`
constructor(obj?: ISlimScrollOptions) {
}
`
If we are setup for number 0, script doesn't work. In example gridOpacity = 0. We have a basic value.
I think in constructor need check with type of undefined.
The text was updated successfully, but these errors were encountered: