@heroku/ember-malibu-icon
Ember Malibu Icons
Last updated 2 years ago by jmonster .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @heroku/ember-malibu-icon 
SYNC missed versions from official npm registry.

Ember Malibu ???? Icon

This Ember addon injects the Malibu svg sprite into your Ember application and provides a helper to insert icons into your templates. You can explore how this helper works in this addon's demo app.

Note that it will be helpful if you also use Purple 3 for styling

Installation

ember install --save @heroku/ember-malibu-icon

Configuration

By default this addon will inject the latest version of Malibu. Consumers can configure this in their application's config/environment.js file

ENV['ember-malibu-icon'] = {
  malibuVersion: '1.3.0'
}

Usage

From a Handlebars (.hbs) file

{{malibu-icon size='28' iconClass='gradient-dark-gray' name='app-28' title="Optional Title"}}

From a javascript file

import { malibuIcon } from 'ember-malibu-icon/helpers/malibu-icon';
malibuIcon({
  name: 'app-16',
  size: 16,
  iconClass: 'v-mid gradient-purple',
  title='Optional Title'
})

Development

  • git clone https://github.com/heroku/ember-malibu-icon
  • cd ember-malibu-icon
  • yarn

Running

Running Tests

  • yarn test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

Current Tags

  • 1.1.2                                ...           latest (21 days ago)

14 Versions

  • 1.1.2                                ...           21 days ago
  • 1.1.1                                ...           4 months ago
  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
Maintainers (242)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 1
Last Month 47
Dependencies (1)

Copyright 2014 - 2016 © taobao.org |