Skip to content

A lightweight performance minded image component.

License

Notifications You must be signed in to change notification settings

Foodee/ember-async-image

 
 

Repository files navigation

Ember-async-image

npm version Build Status Ember Observer Score

A lightweight performance minded image component.

{{async-image}} is a 1:1 drop in replacement for <img >, introducing no additional markup and containing optimized teardown and image swapping.

Extracted from smoke-and-mirrors

Usage

{{async-image
  src=(if attrs.imageSrc attrs.imageSrc attrs.imagePlaceholder)
  alt=attrs.imageAlt
  title=attrs.imageTitle
}}

About

A lightweight performance minded image component.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.9%
  • HTML 13.7%
  • Handlebars 0.4%