Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - {{#link-to}}} active class #91

Open
TorstenDittmann opened this issue Feb 21, 2019 · 0 comments
Open

Enhancement - {{#link-to}}} active class #91

TorstenDittmann opened this issue Feb 21, 2019 · 0 comments

Comments

@TorstenDittmann
Copy link

When using {{#link-to}} the default active class in Ember is "active", but Bulma uses "is-active".

This can be changed in Ember by adding this code to ./app/app.js

// Add this to the top where the other imports are
import LinkComponent from '@ember/routing/link-component';
// Change the default 'active' class
Ember.LinkComponent.reopen({
	activeClass: 'is-active'
});

This could be added to the documentation.

@TorstenDittmann TorstenDittmann changed the title Suggestion - {{#link-to}}} active class enhancement - {{#link-to}}} active class Feb 21, 2019
@TorstenDittmann TorstenDittmann changed the title enhancement - {{#link-to}}} active class Enhancement - {{#link-to}}} active class Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant