Skip to content

html-next/ember-async-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9300e06 · Dec 3, 2018

History

18 Commits
Dec 3, 2018
Nov 6, 2015
Dec 3, 2018
Dec 3, 2018
Nov 6, 2015
Dec 3, 2018
Nov 6, 2015
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018
Dec 3, 2018

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
}}