Sha256: b27f52296d9f313bd10c1c34cb331bbc75c4482c93ee64800664241d24465f5e
Contents?: true
Size: 429 Bytes
Versions: 7
Compression:
Stored size: 429 Bytes
Contents
import Ember from 'ember'; const { computed } = Ember; import layout from '../../templates/components/bsy-nav/item'; export default Ember.Component.extend({ layout, tagName: 'li', classNames: 'nav-item', classNameBindings: ["activeClassName"], active: false, activeClassName: computed('active', function() { if (this.get('active') === true) { return "active"; } else { return ""; } }) });
Version data entries
7 entries across 7 versions & 1 rubygems