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
Is it possible to add scrollContainer attribute ? Maybe it can be realized in other way ?
eg:
__proto._init = function () { var _a; var _b = this.options, scrollContainerOption = _b.scrollContainer, containerOption = _b.container, containerTag = _b.containerTag, horizontal = _b.horizontal; var wrapper = this.wrapper; var scrollContainer = wrapper; var container = wrapper; var containerCSSText = ""; if (!containerOption) { // scrollContainer = document.body; scrollContainer = scrollContainerOption instanceof HTMLElement ? scrollContainerOption : document.querySelector(scrollContainerOption); scrollContainer = scrollContainer || document.body; containerCSSText = container.style.cssText; } else if (containerOption === true) { // ... } else { // ... } // ... }
so:
import { MasonryInfiniteGrid } from "@egjs/vue-infinitegrid"; <masonry-infinite-grid :container="false" :scrollContainer="#Id" > // ... </<masonry-infinite-grid>
Thanks very much!
The text was updated successfully, but these errors were encountered:
@Newcandy
okay. I'll add it.
Sorry, something went wrong.
@egjs/infinitegrid
@egjs/react-infinitegrid
@egjs/svelte-infinitegrid
@egjs/vue-infinitegrid
@egjs/vue3-infinitegrid
@egjs/ngx-infinitegrid
scrollContainer option is added. Check it again.
No branches or pull requests
Description
Is it possible to add scrollContainer attribute ?
Maybe it can be realized in other way ?
eg:
so:
Thanks very much!
The text was updated successfully, but these errors were encountered: