-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add gmf-mobile-nav-back-on-click directive #1446
Conversation
And use it to close the gmf-themeselector on mobile.
* gmf-mobile-nav-back-on-click | ||
* gmf-themeselector-currenttheme="mainCtrl.theme"> | ||
* </gmf-themeselector> | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No htmlAttributes
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directive has no html attributes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I just see the attributes from the theme selector, add ..., forget my comment :-)
This is a pretty elegant workaround. |
Thanks for the review |
@fredj did you check if there are still cases where we want to keep the previous |
yes, |
If it's not used, I'm in favour to remove it. It adds unrequired complexity. This "back-click" directive is much more easy to use and understand and is useful in many contexts. |
ok, and the code is in the git history if needed |
I will create a PR |
And use it to close the gmf-themeselector on mobile.
Fixes #1344