bootstrap-for-ember
bootstrap-for-ember copied to clipboard
Pills Navigation Classes
Currently I don't see a way to add classes to the content item of a pills component. It would be nice to have a way to specify additional classes to add for each pill, something like:
this.set('content', Ember.A([
Ember.Object.create({title: 'Home', selected:true, linkTo:'index', classNames:['home']}),
Ember.Object.create({title: 'Groups', selected:false, linkTo:'group', classNames:['group']})
]));
this way I can style the nav items based on those added classes.
Also I was able to use the linkTo: attribute to actually build in routing to these pills which is good, but this feature is undocumented.
Thanks, i'll add this to the next version.