-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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 the forward arrow as an option for md & wp mode #5993
Comments
Can you please make it an option for IOS also? e.g. a button with ion-item class always has arrow-right, would be nice to be able to turn that off |
@alexbainbridge You can add the |
Hi @brandyscarney, Any updates on the issue? Also I want arrow-up and arrow-down for list header, so that can be toggle by clicking upon. Is that on development? |
The following Sass variables control this: ``` $item-ios-detail-push-show $item-md-detail-push-show $item-wp-detail-push-show ``` ios is set to true by default, the others are set to false. references #5993
added the sass variable for the color directly to the svg instead. This will help with future themes since the mixin was just being copied over. references #5993
adds more usage examples and content projection information. closes ionic-team/ionic-site#579 references #5993
Thanks for the issue! This is now possible by setting the following Sass variables to
By default, I updated the item documentation to include this: http://ionicframework.com/docs/v2/api/components/item/Item/#detail-arrows This will be in the
|
Hello, isnt working here: My code
view code showing the detail-push application:
detail-none works as expected, but detail-push dont, thanks for your attention. |
Try moving this to the
See the theming docs for details. As a side note, you shouldn't need |
thanks @kensodemann i moved to theme/variables.scss and now is working, it was my mistake i should have tried in the theme/variables.scss first. Even if it`s something obvious, others can make mistakes too. It might be a good idea to make it clear in the documentation that the variables need to be on the theme/variables.scss. About
I need it because in android/desktop the arrow will not show, that`s because of the material design guideline, but i dont like that, i want to make clear to the user that he can navigate there. thanks again! you saved me, i would not want to have to do a workaround because of that. |
WRT the docs, we have this in the template
Granted, if you are like me and delete the template comments after the first time you read them and then totally forget about them, then that won't do you any good, but they are there when the app is first generated anyhow. :) Glad to hear it is working for you! |
haha you are right, i will stop deleting some template comments, thanks. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Should be able to add an option to enable the forward arrow on items similar to ios.
Forum post:
https://forum.ionicframework.com/t/android-arrow-forward-not-showing-up-for-button-ion-item/42922
Can probably set a variable that determines whether or not to add the forward arrow and default it to
false
for these platforms in order to match the design guidelines, yet let the user set it totrue
to enable it.Material Design list guidelines: https://www.google.com/design/spec/components/lists.html#lists-specs
Relevant code: https://github.com/driftyco/ionic/blob/2.0/ionic/components/item/item.ios.scss#L166-L176
The text was updated successfully, but these errors were encountered: