Skip to content
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

Merged
merged 20 commits into from
Jan 21, 2021

Conversation

j-d-carmichael
Copy link
Contributor

@j-d-carmichael j-d-carmichael commented Jan 11, 2021

  • 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

@j-d-carmichael j-d-carmichael changed the title feat: ability to extend the container, lifting the last items from th… feat: vertical additional space, header slot, scroll top and bottom event, linter added, removed less Jan 12, 2021
@j-d-carmichael
Copy link
Contributor Author

@starkwang any chance of getting this PR reviewed soon, could do with it published to npm for me CI pipes :)

@starkwang
Copy link
Owner

@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.
Copy link
Owner

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@starkwang starkwang merged commit fd53409 into starkwang:master Jan 21, 2021
@starkwang
Copy link
Owner

Thanks for your contribution! @johndcarmichael

@starkwang
Copy link
Owner

Landed in 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants