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
I'm no expert, and there may be problems with this, but here's what I'm using. It might be a starting point.
type FlexMasonryOptions = { responsive?: boolean; breakpointCols?: { [key: string]: number; }, numCols?: number; }; declare module 'flexmasonry' { function init(targets: string | NodeList, options?: FlexMasonryOptions): this; function refresh(target: Element, options?: FlexMasonryOptions): this; function refreshAll(options?: FlexMasonryOptions): this; function destroyAll(): void; };
The text was updated successfully, but these errors were encountered:
Actually it doesn't seem to be ES6-compatible in the dist version. So I'm declaring and importing flexmasonry/src/flexmasonry.js instead.
dist
flexmasonry/src/flexmasonry.js
Sorry, something went wrong.
No branches or pull requests
I'm no expert, and there may be problems with this, but here's what I'm using. It might be a starting point.
The text was updated successfully, but these errors were encountered: