-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
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
feat: vertical additional space, header slot, scroll top and bottom event, linter added, removed less #36
Conversation
j-d-carmichael
commented
Jan 11, 2021
•
edited
Loading
edited
- containerStyle is now the calculated height, plus the optionally injected spacer height
- header slot added sitting within the vue-virtual-collection but out of the vue-virtual-collection-container
- the vue-virtual-collection scroll at top and bottom event triggered allowing for pagination (infinite scroll) and fetch latest to occur
- less removed as the css is trivial thus less is overkil
- eslint added to ensure styles are uniform
- package.json scripts updated
- position by translateX and Y opposed to position top/left
@starkwang any chance of getting this PR reviewed soon, could do with it published to npm for me CI pipes :) |
I'll review this PR ASAP. |
|
||
Type: `number` | ||
|
||
When injecting content into the header slot, you should also add the px height of the slot. This ensure items are removed from view at the right time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you note default value of these props?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Thanks for your contribution! @johndcarmichael |
Landed in 1.5.0 |