bootstrap-for-ember icon indicating copy to clipboard operation
bootstrap-for-ember copied to clipboard

Pills Navigation Classes

Open ross-oreto opened this issue 11 years ago • 1 comments

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.

ross-oreto avatar Apr 30 '14 15:04 ross-oreto

Thanks, i'll add this to the next version.

asaf avatar May 15 '14 13:05 asaf