How to use the ember-responsive-image/services/responsive-image.reopen function in ember-responsive-image

To help you get started, we’ve selected a few ember-responsive-image examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kaliber5 / ember-responsive-image / fastboot / instance-initializers / responsive-meta.js View on Github external
export function initialize(/* appInstance */) {
    let meta = '__ember_responsive_image_meta__';
    ResponsiveImage.reopen({
      meta
    });
}

ember-responsive-image

Automatically generate resized images at build-time, optimized for the responsive web, and using components to render them easily as <picture> elements.

MIT
Latest version published 2 years ago

Package Health Score

58 / 100
Full package analysis