Package detail

ember-cli-mdc-elevation

onehilltech499Apache-2.03.0.17

ember-cli addon for @material/elevation

ember-addon, material, material design, material components

readme

ember-cli-mdc-elevation

ember-cli addon for @material/elevation

Installation

ember install ember-cli-mdc-elevation

Components and Mixins

Modifiers

mdc-elevation

Description

The elevation mixin allows you to programmatically change the elevation of a component by adding the elevation class to the HTML element.

Usage

<div {{mdc-elevation elevation=4}}>

</div>

Attributes

  • elevation - Sets the elevation for the component. Acceptable values are 1 - 12.
  • transition - Show transition between elevations