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
The img-lazy component has three properties (_loaded, _loading, and _src) that are set to computed properties…
_loaded
_loading
_src
_loaded: not('observer.hasIntersectionObserver'), _loading: oneWay('observer.hasIntersectionObserver'), _src: computed('width', 'height', 'src', function() { if ((isFastBoot && !get(this, 'lazyFastBoot')) || (!isFastBoot && !get(this, 'observer.hasIntersectionObserver'))) { return get(this, 'src') } return placeholder(get(this, 'width'), get(this, 'height')) }),
…but are later overridden…
set(this, '_loaded', true) set(this, '_loading', false) set(this, '_src', src)
Overriding computed properties is now deprecated in the latest version of Ember and results in tons of warnings in the console. There are some instructions on fixing it here: https://deprecations.emberjs.com/v3.x/#toc_computed-property-override
The text was updated successfully, but these errors were encountered:
Hi, I'm not actively maintaining this addon as I'm not using it in any projects at the moment. I'd be happy to accept a PR though :)
Sorry, something went wrong.
No branches or pull requests
The img-lazy component has three properties (
_loaded
,_loading
, and_src
) that are set to computed properties……but are later overridden…
Overriding computed properties is now deprecated in the latest version of Ember and results in tons of warnings in the console. There are some instructions on fixing it here: https://deprecations.emberjs.com/v3.x/#toc_computed-property-override
The text was updated successfully, but these errors were encountered: