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
First of all, thank you for your great work !
Using the refresh function, I discovered that the callback was not optional. I think it's just an oversight of an if.
if
vue-horizontal.vue#L240
/** * Manually refresh vue-horizontal * @param callback after refreshed, optional */ refresh(callback: (data: VueHorizontalData) => void): void { this.$nextTick(() => { const data = this.calculate() this.left = data.left this.width = data.width this.scrollWidth = data.scrollWidth this.hasNext = data.hasNext this.hasPrev = data.hasPrev callback(data) }) },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First of all, thank you for your great work !
Using the refresh function, I discovered that the callback was not optional. I think it's just an oversight of an
if
.vue-horizontal.vue#L240
The text was updated successfully, but these errors were encountered: