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
it will be nice to have in blazy the chance to have a loader specified in the options settings and also some css style for the selector and loader:
something like:
var bLazy = new Blazy({ loaderSelector: '.loading' loaderAlignment: 'centered', selectorCSS: [{ -webkit-transition: opacity 500ms ease-in-out; -moz-transition: opacity 500ms ease-in-out; -o-transition: opacity 500ms ease-in-out; transition: opacity 500ms ease-in-out; max-width: 100%; opacity: 0; }], selectorloadedCSS: [{ opacity: 1; }], });
where loaderAlignment can be centered top-centered bottom-centered or custom
The text was updated successfully, but these errors were encountered:
No branches or pull requests
it will be nice to have in blazy the chance to have a loader specified in the options settings and also some css style for the selector and loader:
something like:
var bLazy = new Blazy({
loaderSelector: '.loading'
loaderAlignment: 'centered',
selectorCSS: [{
-webkit-transition: opacity 500ms ease-in-out;
-moz-transition: opacity 500ms ease-in-out;
-o-transition: opacity 500ms ease-in-out;
transition: opacity 500ms ease-in-out;
max-width: 100%;
opacity: 0;
}],
selectorloadedCSS: [{
opacity: 1;
}],
});
where loaderAlignment can be centered top-centered bottom-centered or custom
The text was updated successfully, but these errors were encountered: